Allan McRae schrieb:
A key part of the bug report comment...
Applications are expected to use fsync() or fdatasync(), and if that impacts their performance too much, to use a single berkdb or other binary database file, and not do something stupid with hundreds of tiny text files that only hold a few bytes of data in each text file.

It looks like this is called with the fd of an open file. What happens if you call fclose()? Is it synced automatically then, or do you need to run fsync() before fclose()?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
pacman-dev mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/pacman-dev

Reply via email to