Hmm, this is still wrong.  The error message isn't just a function of the locale; it's 
also dependent on the OS.  AIX is now back to expecting "No such file or directory" 
courtesy of LANG=C when the imcc error is "A file or directory in the path name does 
not exist."  That's English, just not the right English.  It looks like this is going 
to need a more involved fix that doesn't monkey with the locale and just does what 
IMCC is doing: calling strerror from C code.  That would require compiling an 
intermediate C program and capturing its output in the test script.  Last time this 
was brought up on IRC there wasn't an existing scaffold for doing that easily; has 
that changed?

Adam

> -----Original Message-----
> From: Leopold Toetsch [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 12, 2004 5:19 AM
> To: Jens Rieks
> Cc: [EMAIL PROTECTED]
> Subject: Re: cvs commit: parrot/imcc/t/syn file.t
> 
> 
> Jens Rieks <[EMAIL PROTECTED]> wrote:
> 
> > The test has to be located inside the eval, this construct 
> has no effect.
> > Might it be better to set LANG to 'C', instead of 'en'?
> 
> Thanks, applied.
> leo
> 

Reply via email to