Date: Thu, 16 Mar 1995 14:20:07 -0500 From: The Source of All Evil <source@NetBSD.ORG> To: source-changes@pain.lcs.mit.edu Subject: sun-lamp CVS commits Message-ID: <199503161920.OAA01404@pain.lcs.mit.edu>
next in thread | raw e-mail | index | archive | help
jtc Thu Mar 16 14:14:22 EST 1995 Update of /a/cvsroot/src/lib/libc/time In directory pain.lcs.mit.edu:/b/tmp/cvs-serv1300 Modified Files: localtime.c Log Message: Added comment explaining why we are using a different algorithm than what was adopted in tzcode95c to solve the problem of the first char detzcode() extracts requiring sign extention (this is needed for machines with 64 bit longs). Our implementation is a bit more efficent, but requires a new macro, SIGN_EXTEND_CHAR(), and a conditional to set it appropriately). One minor enhancement for machines without ANSI compilers that have 32 bit longs would be to define SIGN_EXTEND_CHAR() to be the identity macro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503161920.OAA01404>