From: GNU Libc Maintainers Date: Tue, 4 Sep 2018 19:13:02 +0000 (+0100) Subject: local-ldconfig-fsync X-Git-Tag: archive/raspbian/2.27-6+rpi1^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9dae8d7ea8d195719ce6e869cd9e68ab7d5a986d;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 c2c010f97..9a7e72b79 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -455,6 +455,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"));