AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

<[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <DE3E901B104957409FFC4EA8DCE5B0A5018FAD8B4597@HE113566.emea1.cds.t-internal.com>
________________________________________
> [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful
> stat on filename containing newline at
> /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\n

I am confused, because a filename is able to contain newlines.

0 Alexander_helix41 ~/2>ll | cat
total 1
-rw-r--r-- 1 Alexander Kein 6 Feb 28 12:20 new
line
0 Alexander_helix41 ~/2>ll | xxd
0000000: 746f 7461 6c20 310a 2d72 772d 722d 2d72  total 1.-rw-r--r
0000010: 2d2d 2031 2041 6c65 7861 6e64 6572 204b  -- 1 Alexander K
0000020: 6569 6e20 3620 4665 6220 3238 2031 323a  ein 6 Feb 28 12:
0000030: 3230 206e 6577 0a6c 696e 650a            20 new.line.
0 Alexander_helix41 ~/2>

I am pretty shure, I tested the capability of filenames on a Linux (ext2) or Solaris (ufs) filesystem, a long time ago
The outcome was, that you can use 254 different characters, except the '\0' and the '/'.

But I agree, it is an annoyance it should be forbidden. ;)

Greetings,
Alexander

--
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)
E-Mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.