homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sdaoden
Recipients nadeem.vawda, neologix, pitrou, ronaldoussoren, santoso.wijaya, sdaoden, vstinner
Date 2011年05月07日.12:52:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20110507125231.GB31845@sherwood.local>
In-reply-to <1304770851.24.0.685842930439.issue11877@psf.upfronthosting.co.za>
Content
On Sat, 7 May 2011 14:20:51 +0200, Charles-François Natali wrote:
> # ifdef __APPLE__
> res = fcntl(fd, F_FULLFSYNC);
> # endif
> # ifdef __NetBSD__
> res = fsync_range(fd, FFILESYNC|FDISKSYNC, 0, 0);
> # endif
> 
> Since __APPLE__ and __NetBSD__ are exclusive, you could use something like
> # if defined(__APPLE__)
> res = fcntl(fd, F_FULLFSYNC);
> # elif defined(__NetBSD__)
> res = fsync_range(fd, FFILESYNC|FDISKSYNC, 0, 0);
> # endif
Yes, you're right, i'll update the patch accordingly.
--
Steffen, sdaoden(*)(gmail.com)
History
Date User Action Args
2011年05月07日 12:52:40sdaodensetrecipients: + sdaoden, ronaldoussoren, pitrou, vstinner, nadeem.vawda, neologix, santoso.wijaya
2011年05月07日 12:52:39sdaodenlinkissue11877 messages
2011年05月07日 12:52:39sdaodencreate

AltStyle によって変換されたページ (->オリジナル) /