Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 07:47:56 +0100
From:      Dominic Marks <dominic_marks@btinternet.com>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: kevent and pipes interaction on 4.6-STABLE
Message-ID:  <20020827064756.GA239@gallium>
In-Reply-To: <200208270041.aa72777@salmon.maths.tcd.ie>
References:  <20020826225851.GA93947@gallium> <200208270041.aa72777@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827064756.GA239>