develooper Front page | perl.perl5.porters | Postings from May 2004

[perl #29437] segfault on perl 5.8.4

Thread Previous | Thread Next
Tomasz Pala
May 8, 2004 03:59
[perl #29437] segfault on perl 5.8.4
Message ID:
# New Ticket Created by  Tomasz Pala 
# Please include the string:  [perl #29437]
# in the subject line of all future correspondence about this issue. 
# <URL: >


Here's the sample code:


use open OUT => ':locale';

open F,'/etc/shadow';
warn "$!\n";

If one runs it from unprivileged account he gets "Permission denied"
UNLESS he had set locale producing error message with national letters,
e.g. "Brak dostępu" in polish (eogonek between 't' and 'p'):

LC_ALL=pl_PL ./perl-test
zsh: segmentation fault  LC_ALL=pl_PL ./perl-test

Tom Pala <> 

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About