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

From: Joel Klecker (jkat_private)
Date: Thu Mar 02 2000 - 16:52:09 PST

  • Next message: Captain'z root: "TrendMicro OfficeScan, numerous security holes,"

    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:jkat_private>                 <URL:mailto:espyat_private>
    <URL:http://web.espy.org/>               <URL:http://www.debian.org/>
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 15:38:49 PDT