bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no rpl_mktime in mktime.c


From: James Youngman
Subject: Re: no rpl_mktime in mktime.c
Date: Sat, 9 Jul 2005 11:10:25 +0100
User-agent: Mutt/1.5.9i

On Sat, Jul 09, 2005 at 09:30:35AM +0200, Patrice Dumas wrote:
> > Unlike some of the other modules, lib/mktime.c is not a wrapper around
> > the system mktime.  It is a complete reimplementation, so there's no
> > need for an "#undef mktime" or a "rpl_mktime" in lib/mktime.c itself.
> 
> So maybe there shouldn't be
>  AC_DEFINE(mktime, rpl_mktime,
> in gl_FUNC_MKTIME in m4/mktime.m4?

But then the mktime.c module would define a "mktime" symbol which
would conflict with the one in the system's C library, which is the
one we're trying to replace.  The gnulib mktime is for use on systems
where mktime is just broken or has the wrong functionality, as well as
ones where it is just missing.

James.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]