- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isofs doesn't show .dotfiles #3537
Comments
patch |
|
Branch: 3537_isofs_dotfiles.
Denys, could you please be so kind as to make a "SEMICOLON = "YES"" patch, so that we can close everything in one go? Thanks! |
SEMICOLON == "YES" fix |
The SEMICOLON == "YES" patch is technically correct, but if, say, SEMICOLON="YES" isn't set correctly somewhere (imagine another bug), the result of this patch may be that isofs would start showing files with FILE;N suffixes. |
|
|
|
Important
This issue was migrated from Trac:
vda
(@dvlasenk)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).
Note
Original attachments:
vda
(@dvlasenk) onOct 15, 2015 at 21:18 UTC
vda
(@dvlasenk) onOct 23, 2015 at 10:55 UTC
The text was updated successfully, but these errors were encountered: