[14160] in bugtraq

home help back first fref pref prev next nref lref last post

Re: [XFree86 3.3.6] fix for race conditions in xterm logfile

daemon@ATHENA.MIT.EDU (Joel Klecker)
Fri Mar 3 16:12:30 2000

Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-Id:  <p04310104b4e4bc630df8@[206.163.71.146]>
Date:         Thu, 2 Mar 2000 16:52:09 -0800
Reply-To: Joel Klecker <jk@ESPY.ORG>
From: Joel Klecker <jk@ESPY.ORG>
X-To:         Branden Robinson <branden@ECN.PURDUE.EDU>,
              BUGTRAQ@SECURITYFOCUS.COM
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To:  <20000301183950.D14657@ecn.purdue.edu>

At 18:39 -0500 2000-03-01, Branden Robinson wrote:
>        call with an fclose and a redirection of the stderr stream.  While
>        I was at it I added a #include for the header file that the getpt()
>        function is protyped in to try and silence a compiler warning.  I
>        then found out that glibc doesn't actually have a prototype for it
>        in their header files (contrary to their documentation).

Yes it does, getpt() is a GNU extension, therefore you have to define the
_GNU_SOURCE macro in order to get the prototype.
--
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

home help back first fref pref prev next nref lref last post