Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: aca207c6bac6b8051d782a3100dabe6f4aa0e085
      
https://github.com/Perl/perl5/commit/aca207c6bac6b8051d782a3100dabe6f4aa0e085
  Author: Craig A. Berry <[email protected]>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M vms/vms.c

  Log Message:
  -----------
  vmsify: don't add dot when drop dots feature is active

When a feature to omit the trailing dot on files with no extension
is enabled, we have been actually appending a dot since the huge
omnibus patch f7ddb74ae664d8 19 years ago.  The implementation may
have been done backwards from its intention, or it may have
intended to add the dot only when it would get removed on a round
trip back through unixify. Which raises the question why add it at
all? So don't.

There are relatively few situations where the absence of the dot
can cause trouble, notably when a specific application has its
own default file type that we want to override.  But there are
lots of situations where the presence of a dot causes trouble,
such as File::Temp's confusion when its template that should
end in 'XXXX' gets 'XXXX.' instead.

There is no change to default behavior here, only the behavior
when DECC$READDIR_DROPDOTNOTYPE is present in the environment.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to