From: Paul Eggert <eggert@CS.UCLA.EDU>
Gcc: nnfolder+archive:outgo
Date: Thu, 16 Mar 2006 21:58:09 -0800
2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
Do not use ctime, since it has undefined behavior with
out-of-range time stamps. This fixes a bug where
(current-time-string '(2814749767106 0)) would make Emacs dump
core on 64-bit Solaris 8; the fix is to remove all uses of ctime
from the Emacs source code.
Personally, I find it preposterous that we need to reinvent library
functions. Isn't there a better (safer) library function, or a
combination thereof, that we could use instead of rolling our own?