Use Gnulib's `strftime' to address bug #24130.
authorLudovic Courtès <ludo@gnu.org>
Tue, 2 Sep 2008 19:24:53 +0000 (21:24 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 2 Sep 2008 19:58:58 +0000 (21:58 +0200)
commit69f23174d313650ca8fb0f69ede45c48d7a26b05
treeaac785b5f6664613f895c67a1f0147aaa04d4f50
parente65fc94b7a01a46d867480861e93984e8ea1e012
Use Gnulib's `strftime' to address bug #24130.

* libguile/stime.c (scm_strftime): Use `nstrftime ()' from Gnulib.
  This provides the same semantics on all platforms, thereby fixing
  bug #24130.

* doc/ref/posix.texi (Time): Remove note about non-portable `%Z'
  behavior.  Describe the new, portable behavior.

* test-suite/tests/time.test ("strftime")["strftime %Z doesn't return
  garbage"]: Reinstate.
  ["C99 %z format"](have-strftime-%z): Remove.
  ("GMT", "EST+5"): Don't use `have-strftime-%z'.
doc/ref/posix.texi
libguile/stime.c
test-suite/tests/time.test