In message <20020826225851.GA93947@gallium>, Dominic Marks writes:
>+static int kq = -1;
>+    int kq, rv, idx;
>kevent(0x3,0xbfbfedbc,0x1,0x0,0x0,0x0)           = 0 (0x0)
>kevent(0x809abc0,0x0,0x0,0xbfbfede0,0x8,0x0)     ERR#9 'Bad file descriptor'

Look at the above 4 lines, and it is pretty clear what is going on.
You don't want to hide the global `kq' behind an uninitialised local
variable of the same name.

Ian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to