From: GNU Libc Maintainers Date: Sun, 14 Jan 2018 10:24:48 +0000 (+0000) Subject: local-ldconfig-fsync X-Git-Tag: archive/raspbian/2.26-4+rpi1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bc0288b22d8c1dc1be722569dba10acb590e82f1;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 a76f89281..5af97c808 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"));