Ticket #3537 (new defect) — at Initial Version
isofs doesn't show .dotfiles
Reported by: | vda | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.8.16 |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: |
Description
There appears to be an easy bug in iso9660 helper:
if (name ~ /\.\.?/) next
means "skip all lines which start with one or two dots".
Author probably meant: if (name ~ /\.\.?$/) next
I propose to not be cryptic and just check both possibilities separately.
The below trivial patch was tested to work: now I see
the file named ".dot" in a test iso file.
(Note: there seems to be another bug: SEMICOLON = "YES"
is not a correct comparison (should use ==),
it's assignment! As a result, sub(";1$", "", name);
is always executed).
Change History
Changed 9 years ago by vda
- Attachment 0001-iso9660-dotfiles.patch added
Note: See
TracTickets for help on using
tickets.
patch