This is the mail archive of the libc-alpha@cygnus.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]

Re: glibc strftime.c _REENTRANT problem (GNU Emacs 20.3, Solaris 2.6)


Paul Eggert <eggert@twinsun.com> writes:

> On Solaris 2.6, GNU Emacs 20.3's config.h file includes <time.h>
> indirectly, which means that the "#define _REENTRANT 1" in glibc
> strftime.c is ineffective: it doesn't occur until after config.h is
> included.  (The explicit "#include <time.h>" in strftime.c has no
> effect, since <time.h> was already included by config.h and <time.h>
> protects itself against multiple inclusion.)

We should this be a problem of strftime?  Fix the config.h for Emacs,
this is the right approach.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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