From: kc5tja at bigfoot.com (Samuel A. Falvo II)
Date: Mon, 5 Apr 1999 12:38:05 -0700
Subject: Doing the "right thing" with timezones on Linux (patch)
References: <19990329003313.A3517@quango.watervalley.net>  <199903291915.OAA01148@eric.cnri.reston.va.us> <7dp9tm$hv2$1@towncrier.cc.monash.edu.au>
Message-ID: <3708a324@fermi.armored.net>
X-UID: 476                                                  

Jonathan Giddy wrote in message <7dp9tm$hv2$1 at towncrier.cc.monash.edu.au>...
>Guido van Rossum <guido at CNRI.Reston.VA.US> writes:
>
>I'm not sure whether it actually affects the code itself, but the comment
>#else /* !HAVE_TZNAME && !__GNU_LIBRARY__ */
>is actually:
>#else /* !HAVE_TZNAME || __GNU_LIBRARY__ */


Incorrect -- it should be:

#else /* !( HAVE_TZNAME || __GNU_LIBRARY__ ) */

Note the order of operations.  Unary ! has higher precedence than || in C.

Just thought I'd mention this... :)







