bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] make your tar archive even more anonymous


From: Denis Excoffier
Subject: Re: [Bug-tar] make your tar archive even more anonymous
Date: Tue, 10 Jul 2012 07:31:50 +0159
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jul 09, 2012 at 12:58:31AM -0700, Paul Eggert wrote:
>> One problem I can see is that the sort does not
>> use the locale's collating rules, which will undoubtely
>> run afoul of somebody somewhere.  Conversely, locale-specific
>> comparison can fail, which is a pain to work around (see how
>> GNU 'ls' does it -- ouch!).  We may have to bite the bullet
>> and do things the 'ls' way....
>> 

I've read the comments and code in coreutils/src/ls.c and improved
the patch in that direction.

It seems to me that the comment 'strcoll() succeeded' in ls.c should
be replaced by something like 'let's try first with strcoll()'.

Regards,

Denis Excoffier.

Attachment: sort-directory-2.patch
Description: Text document


reply via email to

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