[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7905: 24.0.50; VC not updating file status properly anymore after co
bug#7905: 24.0.50; VC not updating file status properly anymore after commit from vc-dir
Tue, 01 Feb 2011 16:45:05 -0500
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Tim Van Holder wrote:
>>> (encode-time 16 18 15 11 1 2011 2 nil 3600)
>>> (encode-time 16 18 15 11 1 2011 2 nil 0)
>>> both return the same value "(19756 26280)"
> In order to do the (apparent) right thing, encode-time seems to rely
> on mktime() to take $TZ into account (otherwise there is no point in
> saving/restoring the environment with a specific TZ value).
> However, lib/mktime.c (which is in use by my emacs build) does not
> seem to refer to any timezone info at all - neither $TZ nor tm_zone is
> referenced; it seems to rely on localtime() to deal with that. I guess
> that's not the case for my localtime() (from glibc 2.3.6).
FWIW I built the current trunk on a system with glibc 2.3.4, and the
two above encode-times return two different values. So whatever it is,
it's not related to the glibc version.