summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-07-23 18:28:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-07-23 18:31:07 -0700
commita89e3449698f97ea0f9c5fbd73aa054009858471 (patch)
treef7cf0f1151d09c45d5e580bed8ecab0c0f2e3afc /NEWS
parent4bc76593d509827588081e32ebd75a5e34d1c374 (diff)
downloadgnulib-a89e3449698f97ea0f9c5fbd73aa054009858471.tar.gz
fprintftime, strftime: use timezone_t args
* NEWS: Document the change. * lib/fprintftime.h (fprintftime): * lib/strftime.c (extra_args) [my_strftime]: * lib/strftime.h (nstrftime): Time zone arg is now of type timezone_t, not int. * lib/strftime.c (mktime_z) [_LIBC]: New macro. (__gmtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: Remove; no longer used. (my_strftime) [emacs && !my_strftime]: (emacs_strftimeu) [emacs && !FPRINTFTIME]: Remove; Emacs doesn't need this any more. (HAVE_TZSET) [my_strftime]: Unset, since we no longer want fprintftime and nstrftime to call tzset. (ut) [!my_strftime]: Remove, replacing with ... (tz) [!my_stftime]: ... this new macro. All uses changed. (strftime_case_): Use localtime_rz and mktime_z instead of localtime_r and mktime. * modules/fprintftime (Depends-on): Add time_rz. * modules/strftime (Depends-on): Add time_rz. Remove time_r. * tests/test-strftime.c (main): Adjust to new nstrftime API.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1e36206e34..b294edd984 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,11 @@ User visible incompatible changes
Date Modules Changes
+2015-07-24 fprintftime Exported functions' time zone arguments are now of
+ strftime type timezone_t (with NULL denoting UTC) instead of
+ type int (with nonzero denoting UTC). These
+ modules now depend on time_rz.
+
2015-04-03 hash hash_insert0 function removed (deprecated in 2011).
2014-10-29 obstack The obstack functions are no longer limited to