This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: glibc strftime.c _REENTRANT problem (GNU Emacs 20.3, Solaris 2.6)
- To: Paul Eggert <eggert@twinsun.com>
- Subject: Re: glibc strftime.c _REENTRANT problem (GNU Emacs 20.3, Solaris 2.6)
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 07 Sep 1998 09:41:48 -0700
- Cc: libc-alpha@cygnus.com
- References: <199809070702.AAA04482@shade.twinsun.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------