forked from pool/glibc
Andreas Schwab
d2f37bcdab
- Update to glibc 2.20 release. * Reverted change of ABI data structures for s390 and s390x * Support for file description locks is added to systems running the Linux kernel * Optimized strchr implementation for AArch64 * The minimum Linux kernel version that this version of the GNU C Library can be used with is 2.6.32 * Running the testsuite no longer terminates as soon as a test fails * The am33 port, which had not worked for several years, has been removed from ports. * The _BSD_SOURCE and _SVID_SOURCE feature test macros are no longer supported; they now act the same as _DEFAULT_SOURCE (but generate a warning) * Optimized strcmp implementation for ARMv7 * Added support for TX lock elision of pthread mutexes on s390 and s390x * All supported architectures now use the main glibc sysdeps directory instead of some being in a separate "ports" directory * The NPTL implementation of POSIX pthreads is no longer an "add-on" * Locale names, including those obtained from environment variables (LANG and the LC_* variables), are more tightly checked for proper syntax * On x86-64, the dynamic linker's lazy-binding support is now compatible with application code using Intel MPX instructions - Patches from upstream removed * nss-dns-memleak.patch * sin-sign.patch * pldd-wait-ptrace-stop.patch * nscd-track-startup-failures.patch * powerpc-opt-power8.patch * check-pf-alloca.patch * getaddrinfo-uninit-result.patch OBS-URL: https://build.opensuse.org/request/show/249235 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=387
20 lines
607 B
Diff
20 lines
607 B
Diff
Index: glibc-2.17.90/nscd/nscd_stat.c
|
|
===================================================================
|
|
--- glibc-2.17.90.orig/nscd/nscd_stat.c
|
|
+++ glibc-2.17.90/nscd/nscd_stat.c
|
|
@@ -36,8 +36,13 @@
|
|
#endif /* HAVE_SELINUX */
|
|
|
|
|
|
-/* We use this to make sure the receiver is the same. */
|
|
+/* We use this to make sure the receiver is the same. Capture mtime
|
|
+ of this file if possible. */
|
|
+#if defined(__TIMESTAMP__)
|
|
+static const char compilation[21] = __TIMESTAMP__;
|
|
+#else
|
|
static const char compilation[21] = __DATE__ " " __TIME__;
|
|
+#endif
|
|
|
|
/* Statistic data for one database. */
|
|
struct dbstat
|