bug-coreutils
[Top][All Lists]
Advanced

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

bug#11761: Slight bug in split :-)


From: Paul Eggert
Subject: bug#11761: Slight bug in split :-)
Date: Fri, 22 Jun 2012 12:09:16 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

>From a filesystem point of view, would it be
more efficient to invoke ftruncate at the end of
writing, rather than at the beginning?  That way,
if the file already exists and is of the right size,
it won't need to be reallocated.  We're not trying
to write any holes, so this optimization should be
valid.

Please don't let this comment slow you down, as your
patch is fine as-is.  I'm mainly asking because I was
wondering about the issue in general.





reply via email to

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