From: GNU Libc Maintainers Date: Tue, 18 Oct 2016 21:10:46 +0000 (+0000) Subject: local-ldconfig-fsync X-Git-Tag: archive/raspbian/2.25-3+rpi1~1^2^2^2^2^2^2^2^2^2^2^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=baf557dc0bace38f71a67846e451dc4124e50be7;p=glibc.git local-ldconfig-fsync Gbp-Pq: Topic any Gbp-Pq: Name local-ldconfig-fsync.diff --- diff --git a/elf/cache.c b/elf/cache.c index fbee17201..15a1a7ccc 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -449,6 +449,7 @@ save_cache (const char *cache_name) } if (write (fd, strings, total_strlen) != (ssize_t) total_strlen + || fsync (fd) || close (fd)) error (EXIT_FAILURE, errno, _("Writing of cache data failed"));