This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Export LC_ALL=C (Re: Sorting in nm and testsuite)


On Tue, Jun 25, 2002 at 03:01:18PM -0400, Andrew Cagney wrote:
> > On Tue, Jun 25, 2002 at 12:55:58PM -0400, Ben Elliston wrote:
> > 
> >> >>>>> "HJ" == H J Lu <hjl@lucon.org> writes:
> > 
> >> 
> >>   HJ> There is a problem with
> >>   HJ> http://sources.redhat.com/ml/binutils/2002-06/msg00594.html
> >> 
> >>   [...]
> >> 
> >>   HJ> It may also cause problems for other scripts. I don't know what is the
> >>   HJ> best way to deal with it. Shouldn't we introduce a new option, 
> >>   HJ> -L|--sort-locale?
> >> 
> >> How about modifying the testsuite to run the tested programs in an
> >> explicit locale?
> > 
> > 
> > Are you going to modify all scripts which use nm? I am not talking
> > about just the binutils testsuite.
> 
> I believe this is the norm.  If a script doesn't set the locale, and 
> just trusts that it is C, then the script is broken.
> 

Here is a patch.


H.J.

Attachment: binutils-locale.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]