Re: new device ids

2012-11-26 Thread rustyBSD
Le 23/11/2012 08:35, Kirill Bychkov a écrit : > Hi. > This patch adds fingerprint reader and ati video, found on my girlfriend's hp > pavillion dv6. > OK? > > Index: pci/pcidevs > === > RCS file: /cvs/src/sys/dev/pci/pcidevs,v > retri

Goodbye to you my file descriptor - take 2

2012-11-21 Thread rustyBSD
Hi, I know I'm repeating, but I make a codescanneron my free timeand sometimes I run it on /usr/src. So, here is a patch to fix a file descriptor leak. (I know, tabs are gone, how to avoid that on thunderbird?) --- src/usr.bin/cu/xmodem.c2012-07-11 08:39:32.0 +0200 +++ src/usr.bin/c

Re: Goodbye to you my file descriptor

2012-10-30 Thread rustyBSD
Le 30/10/2012 15:32, Christiano F. Haesbaert a écrit : > That should be an access(2) call. Yes.Something like this - also moved len to size_t, as strlen() is size_t: --- dired.cWed Mar 14 14:56:35 2012 +++ dired.cTue Oct 30 16:23:00 2012 @@ -724,9 +724,10 @@ dired_(char *dname) { s

Goodbye to you my file descriptor

2012-10-30 Thread rustyBSD
MMmhh... == /usr/src/usr.bin/mg/dired.c == Go look the line 729: if ((fopen(dname,"r")) == NULL) { ... Now you can cry