emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

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