Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 f7ddb74 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.
- Loading branch information