Date: Tue, 27 Feb 1996 17:17:44 +1100 From: Bruce Evans <bde@zeta.org.au> To: julian@ref.tfs.com, pst@cisco.com Cc: current@FreeBSD.org, hackers@FreeBSD.org, hsu@FreeBSD.org, julian@FreeBSD.org Subject: Re: gratuitous changes to db/hash.c for threadsafe operation? Message-ID: <199602270617.RAA14236@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>It clashes with the errno in the thread_safe libc >which is a MACRO >#define errno (*__errno(current_thread)) >or something similar >this is true in almost every threads package in the world... ANSI permits errno to be a macro (to allow thngs like the above), so it shouldn't be used in portable code to mean anything other than the ANSI errno. Similarly for almost all ANSI names, e.g., sin. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602270617.RAA14236>