# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #25825]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=25825 >


Hi,

with a non-english locale I get a failure of test 11 in syn/file.t. Test 11
is a test 
of what happens when parrot tries to include a non-existent file.
In this case parrot gives the error message
"No such file or directory" for the error ENOENT. 
This is compared with the corresponding error message from Perl5.
With a german locale one gets  "Datei oder Verzeichnis nicht gefunden".

As a fix I set $ENV{LANG} = 'en', before asking Perl5 for the ENOENT error
string.
This should work for most Unixes, I don't know about other platforms.

CU, Bernhard


-- 
/* [EMAIL PROTECTED] */

+++ Mailpower fÃr Multimedia-Begeisterte: http://www.gmx.net/topmail +++
250 MB Mailbox, 1 GB Online-Festplatte, 100 FreeSMS. Jetzt kostenlos testen!

<<< multipart/mixed; boundary="----------=_1075691553-2080-1": Unrecognized >>>

Attachment: file.t.20040201.patch
Description: Binary data

Reply via email to