This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
-D_REENTRANT still necessary?
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: -D_REENTRANT still necessary?
- From: Florian Weimer <Florian dot Weimer at RUS dot Uni-Stuttgart dot DE>
- Date: 11 Jun 2001 08:40:28 +0200
I've just looked at the header files of a GNU libc 2.2.3 installation,
and it seems that -D_REENTRANT only results in the declaration of
get_login_r(). For example, the thread-specific errno() seems to be
activated with and without -D_REENTRANT. In addition, the
documentation seems to say that -D_REENTRANT does not change existing
declaration (as it did in the old days).
Shall I compile libraries with -D_REENTRANT nevertheless, or is it
obsolete and/or unnecessary?
--
Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart http://cert.uni-stuttgart.de/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898