bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils patch to port to hosts lacking fsync


From: Matthew Woehlke
Subject: Re: coreutils patch to port to hosts lacking fsync
Date: Wed, 20 Dec 2006 10:40:41 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

Paul Eggert wrote:
Matthew Woehlke writes:
Ack, I must apologize for giving wrong information. What I meant to
say is that there is no /sync/ (oddly enough, there is fsync on
NSK). So building 'sync' is silly

Not really.  Shell scripts use 'sync'.  Even if it's a noop
it's nice to have.

Ok. Is it possible to change the man page to indicate this? Um... I guess it should be, since coreutils uses help2man; change sync.c so that it /really/ is a no-op (and identifies itself as such) if the system has no sync()? (I suppose a better question is if the info doc can also be made dynamic...?)

Google code says several other programs test for HAVE_FSYNC (e.g.,
glimpse, ruby) so I still think the patch is reasonable, even though I
don't know which systems lack fsync.

Agreed, the same thought occurred to me.

--
Matthew
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]