From 6c086e82a4c3562e112dbc711ffe1bab150cbf37 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Thu, 26 Oct 2023 11:02:17 +1100 Subject: [PATCH 1/3] perlport: -S on Win32 has been meaningful since 01052a1d7 --- pod/perlport.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlport.pod b/pod/perlport.pod index 81b4434d5a41..aa0c158aa1ed 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -1521,7 +1521,7 @@ C<-d> is true if passed a device spec without an explicit directory. (Win32) C<-x> (or C<-X>) determine if a file ends in one of the executable -suffixes. C<-S> is meaningless. +suffixes. (S) C<-x> (or C<-X>) determine if a file has an executable file type. From b6fe3cb3bc3bc78ff86dba7a479aea651f23c2ca Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Thu, 26 Oct 2023 12:32:08 +1100 Subject: [PATCH 2/3] perlport: windows strange behaviour with . at the end of names Fixes #14687 --- pod/perlport.pod | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pod/perlport.pod b/pod/perlport.pod index aa0c158aa1ed..0e72b548d8f7 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -398,6 +398,10 @@ directory if their names are lowercased and truncated to eight characters before the C<.>, if any, and to three characters after the C<.>, if any). (And do not use C<.>s in directory names.) +On Windows extra C<.>s at the end of a file or directory name are +ignored in most circumstances, and a directory name containing only +three or more C<.>s are treated as the current directory by some APIs. + =head2 System Interaction Not all platforms provide a command line. These are usually platforms From 72e1e6ce6d3d293d1e020c70bfd3a3b862fba902 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Thu, 26 Oct 2023 12:50:43 +1100 Subject: [PATCH 3/3] perlport: -l is now meaningful on Win32 --- pod/perlport.pod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pod/perlport.pod b/pod/perlport.pod index 0e72b548d8f7..e8018862c6e9 100644 --- a/pod/perlport.pod +++ b/pod/perlport.pod @@ -1512,7 +1512,10 @@ C<-R>, C<-W>, C<-X>, C<-O> are indistinguishable from C<-r>, C<-w>, C<-x>, C<-o>. (Win32, VMS, S) -C<-g>, C<-k>, C<-l>, C<-u>, C<-A> are not particularly meaningful. +C<-g>, C<-k>, C<-u>, C<-A> are not particularly meaningful. + +(VMS, S) +C<-l> is not particularly meaningful. (Win32) C<-l> returns true for both symlinks and directory junctions.