[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no rpl_mktime in mktime.c
From: |
Paul Eggert |
Subject: |
Re: no rpl_mktime in mktime.c |
Date: |
Fri, 08 Jul 2005 15:32:27 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Patrice Dumas <address@hidden> writes:
> But that's not how it's done for mktime. Indeed in m4/mktime.m4 there is
> AC_DEFINE(mktime, rpl_mktime
> while in lib/mktime.c there is
>
> time_t
> mktime (struct tm *tp)
>
> and not
> time_t
> rpl_mktime (struct tm *tp)
>
> Doesn't that cause an error with rpl_mktime not found?
No, because the "#define mktime rpl_mktime" applies also to
the mktime in lib/mktime.c.
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.
- no rpl_mktime in mktime.c, Patrice Dumas, 2005/07/07
- Re: no rpl_mktime in mktime.c, Paul Eggert, 2005/07/07
- Re: no rpl_mktime in mktime.c, Patrice Dumas, 2005/07/08
- Re: no rpl_mktime in mktime.c, Paul Eggert, 2005/07/08
- Re: no rpl_mktime in mktime.c, Patrice Dumas, 2005/07/08
- Re: no rpl_mktime in mktime.c,
Paul Eggert <=
- Re: no rpl_mktime in mktime.c, Patrice Dumas, 2005/07/09
- Re: no rpl_mktime in mktime.c, Paul Eggert, 2005/07/09
- Re: no rpl_mktime in mktime.c, James Youngman, 2005/07/09
- Re: no rpl_mktime in mktime.c, Patrice Dumas, 2005/07/11
- Re: no rpl_mktime in mktime.c, Paul Eggert, 2005/07/12
- Re: no rpl_mktime in mktime.c, James Gallagher, 2005/07/12
- Re: [bug-gnulib] Re: no rpl_mktime in mktime.c, Bruno Haible, 2005/07/11
- Re: [bug-gnulib] Re: no rpl_mktime in mktime.c, Paul Eggert, 2005/07/11
- Re: [bug-gnulib] Re: no rpl_mktime in mktime.c, James Gallagher, 2005/07/11