Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 300939 Details for
Bug 402245
sys-fs/dosfstools-3.0.12 dosfslabel does not work if long file names are used in partition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
My fix for described problem
dosfslabel_lfn.patch (text/plain), 837 bytes, created by
Sergey Gusarov
on 2012-02-05 10:16:35 UTC
(
hide
)
Description:
My fix for described problem
Filename:
MIME Type:
Creator:
Sergey Gusarov
Created:
2012-02-05 10:16:35 UTC
Size:
837 bytes
patch
obsolete
>--- dosfstools-3.0.12/src/boot.c.orig 2012-01-10 15:56:51.511377842 +0400 >+++ dosfstools-3.0.12/src/boot.c 2012-01-10 15:58:13.867380196 +0400 >@@ -468,7 +468,7 @@ static loff_t find_volume_de(DOS_FS * fs > offset = cluster_start(fs, cluster); > for (i = 0; i * sizeof(DIR_ENT) < fs->cluster_size; i++) { > fs_read(offset, sizeof(DIR_ENT), de); >- if (de->attr & ATTR_VOLUME) >+ if ((de->attr & ATTR_VOLUME) && (de->attr != VFAT_LN_ATTR)) > return offset; > offset += sizeof(DIR_ENT); > } >@@ -477,7 +477,7 @@ static loff_t find_volume_de(DOS_FS * fs > for (i = 0; i < fs->root_entries; i++) { > offset = fs->root_start + i * sizeof(DIR_ENT); > fs_read(offset, sizeof(DIR_ENT), de); >- if (de->attr & ATTR_VOLUME) >+ if ((de->attr & ATTR_VOLUME) && (de->attr != VFAT_LN_ATTR)) > return offset; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 402245
: 300939