[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert regex.c, strftime.c mktime.c to standard C
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: convert regex.c, strftime.c mktime.c to standard C |
Date: |
Fri, 19 Nov 2010 20:23:01 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
I managed to provoke Emacs into using emacs_mktime instead of mktime,
and dropped the gnulib mktime* files into src, and it seems to work fine:
(format-time-string "%Y-%m-%d %H:%M:%S %Z" (encode-time 10 20 12 10 11 2010))
"2010-11-10 12:20:10 CET"
Of course, I have absolutely no idea whether this works on a different
platform, but strftime/mktime certainly don't look very daunting...
Should I just check it in? It's trivial enough to revert if it
breaks... everything...
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: convert regex.c, strftime.c mktime.c to standard C, (continued)
- Re: convert regex.c, strftime.c mktime.c to standard C, Eli Zaretskii, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Chong Yidong, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Sam Steingold, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Lars Magne Ingebrigtsen, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Eli Zaretskii, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Lars Magne Ingebrigtsen, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Sven Joachim, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Eli Zaretskii, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Lars Magne Ingebrigtsen, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Lars Magne Ingebrigtsen, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C,
Lars Magne Ingebrigtsen <=
- Re: convert regex.c, strftime.c mktime.c to standard C, Andreas Schwab, 2010/11/19
- Re: convert regex.c, strftime.c mktime.c to standard C, Bruno Haible, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Eli Zaretskii, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Bruno Haible, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Eli Zaretskii, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Bruno Haible, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, David De La Harpe Golden, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Bruno Haible, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Bruno Haible, 2010/11/20