[Rpm-maint] [rpm-software-management/rpm] Add macro to force fsync() on close() (#187)

Phil Dibowitz notifications at github.com
Tue Apr 4 18:27:21 UTC 2017


jaymzh commented on this pull request.



> @@ -231,6 +232,9 @@ static int expandRegular(rpmfi fi, const char *dest, rpmpsm psm, int nodigest, i
 exit:
     if (wfd) {
 	int myerrno = errno;
+        if (rpmExpandNumeric("%{force_fsync_on_close}")) {

`oneshot` is processed in `processSourceFiles` which won't apply here... as I imagine everythign in build/ is ... where would be an appropriate place to check for this and set it once?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/187#discussion_r109741819
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170404/aa0f3b89/attachment.html>


More information about the Rpm-maint mailing list