Branch: refs/heads/craigb/fix_dropdotnotype
  Home:   https://github.com/Perl/perl5
  Commit: 609b5350cc81eab155fbe6d01f1e4b60ff31cd03
      
https://github.com/Perl/perl5/commit/609b5350cc81eab155fbe6d01f1e4b60ff31cd03
  Author: Craig A. Berry <craigbe...@mac.com>
  Date:   2024-06-25 (Tue, 25 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