projects
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0e93c8
)
local-ldconfig-fsync
author
GNU Libc Maintainers
<debian-glibc@lists.debian.org>
Fri, 26 Jan 2018 22:35:29 +0000
(22:35 +0000)
committer
Aurelien Jarno
<aurel32@debian.org>
Fri, 26 Jan 2018 22:35:29 +0000
(22:35 +0000)
Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-fsync.diff
elf/cache.c
patch
|
blob
|
history
diff --git
a/elf/cache.c
b/elf/cache.c
index a76f89281dcbf5c932cdc0e37d2e6515678f3510..5af97c8088ed8234daf675631b9c4637886844d8 100644
(file)
--- 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"));