This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-D_REENTRANT still necessary?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]