On Tue, Aug 27, 2002 at 12:41:21AM +0100, Ian Dowse wrote: > 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
Woops. Thanks! -- Dominic Marks Computer & Politics Geek [work]::[npl.co.uk] << dominic.marks at npl.co.uk >> [educ]::[umist.ac.uk] << notyet-known at umist.ac.uk >> [home]::[btinternet] << dominic_marks at btinternet.com >> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message