From: Alejandro Colomar Date: Sat, 17 May 2025 05:56:17 +0000 (+0200) Subject: man/man7/pathname.7: VERSIONS: Linux doesn't disallow new-line characters X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c30fadf28536933ff6a18ce244561436573304e;p=thirdparty%2Fman-pages.git man/man7/pathname.7: VERSIONS: Linux doesn't disallow new-line characters POSIX.1-2024 encourages implementations to disallow new-line characters, but Linux doesn't follow that. Signed-off-by: Alejandro Colomar --- diff --git a/man/man7/pathname.7 b/man/man7/pathname.7 index 3cdc367d8..438e4ce16 100644 --- a/man/man7/pathname.7 +++ b/man/man7/pathname.7 @@ -68,6 +68,11 @@ characters in the POSIX .UR https://pubs.opengroup.org/\:onlinepubs/\:9799919799/\:basedefs/\:V1_chap03.html#tag_03_265 Portable Filename Character Set .UE . +.SH VERSIONS +POSIX.1-2024 encourages implementations to +disallow creation of filenames containing new-line characters. +Linux doesn't follow this, +and allows using new-line characters. .SH SEE ALSO .BR limits.h (0p), .BR open (2),