diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 49 |
1 files changed, 49 insertions, 0 deletions
@@ -5,6 +5,55 @@ See the end for copying conditions. Please send GNU C library bug reports via <https://sourceware.org/bugzilla/> using `glibc' in the "product" field. +Version 2.31 + +Major new features: + +Deprecated and removed features, and other changes affecting compatibility: + +* The crude time zone support in ftime, gettimeofday, and settimeofday + has been removed. + + This 4.2-BSD-era feature has been deprecated for many years, as it cannot + handle the full complexity of the world's timezones, but hitherto we have + supported it on a best-effort basis. Changes required to support 64-bit + time_t on 32-bit architectures have made this no longer practical. + + In this release: + + * The type 'struct timezone' is still declared as a complete type in + <sys/time.h>, but code that uses its fields (tz_minuteswest and + tz_dsttime) will not compile. + + * Similarly, code that uses the 'timezone' and 'dstflag' fields of + struct timeb will not compile anymore. + + * Old binaries that pass a non-NULL 'tzp' pointer to gettimeofday will + always receive a 'struct timezone' whose tz_minuteswest and tz_dsttime + fields are zero (as if the system were operating on UTC). + + * Similarly, old binaries that call ftime will always receive a + 'struct timeb' whose timezone and dstflag fields are zero. + + * If the 'tzp' argument to settimeofday is not NULL, the call will fail + and set errno to ENOSYS. (This was already the case on the Hurd.) + + In a future release, 'struct timezone' will be completely removed from + <sys/time.h>; the second argument to gettimeofday and settimeofday + will have type void *. (This is already the case when strict POSIX + conformance is requested.) We do not plan to change the behavior of + gettimeofday or ftime further. + +Changes to build and runtime requirements: + +Security related changes: + +The following bugs are resolved with this release: + + [The release manager will add the list generated by + scripts/list-fixed-bugs.py just before the release.] + + Version 2.30 Major new features: |