--- glibc-20070816T2121/elf/cache.c.bak 2007-08-13 03:04:24.000000000 +0300 +++ glibc-20070816T2121/elf/cache.c 2007-08-19 19:05:20.129917288 +0300 @@ -426,7 +426,7 @@ save_cache (const char *cache_name) } if (write (fd, strings, total_strlen) != (ssize_t) total_strlen - || close (fd)) + || fsync (fd) || close (fd)) error (EXIT_FAILURE, errno, _("Writing of cache data failed")); /* Make sure user can always read cache file */