[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: avoid spurious failures from MacOS readdir bug
From: |
Paolo Bonzini |
Subject: |
Re: avoid spurious failures from MacOS readdir bug |
Date: |
Sat, 06 Dec 2008 16:02:27 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (Macintosh/20081105) |
Eric Blake wrote:
> According to Paolo Bonzini on 12/5/2008 11:35 PM:
>> Indeed, they shouldn't have problems because their line length limit is
>> ~4000 (giving a maximum length of ~2000 bytes for files in the
>> directory, which is safe). However, note that the script is emulating
>> uniq, not sort -u. I don't know if this is safe?
>
> ls already sorts its output.
Ok, that was it, patch fine then.
> (technically, there are instances where sorting after sed is still
> necessary, but for this particular sed script, all we are doing is
> deleting lines).
Of course.
Paolo