FreeBSD Bugzilla – Attachment 12678 Details for
Bug 24393
Patch to msdosfs to handle a kind of incorrect filesystems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 947 bytes, created by
semenu
on 2001-01-16 20:20:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
semenu
Created:
2001-01-16 20:20:04 UTC
Size:
947 bytes
patch
obsolete
>Index: src/sys/msdosfs/msdosfs_denode.c >=================================================================== >RCS file: /usr/home/ncvs/src/sys/msdosfs/msdosfs_denode.c,v >retrieving revision 1.47.2.1 >diff -c -r1.47.2.1 msdosfs_denode.c >*** src/sys/msdosfs/msdosfs_denode.c 2000/07/08 14:34:27 1.47.2.1 >--- src/sys/msdosfs/msdosfs_denode.c 2001/01/16 19:30:13 >*************** >*** 356,361 **** >--- 356,371 ---- > */ > u_long size; > >+ /* >+ * XXX Sometimes, there arrives that . entry have cluster >+ * number 0, when it shouldn't. Use real cluster number >+ * instead of what is written in directory entry. >+ */ >+ if ((diroffset == 0) && (ldep->de_StartCluster != dirclust)) { >+ printf("deget(): . entry at clust %ld != %ld\n", dirclust, ldep->de_StartCluster); >+ ldep->de_StartCluster = dirclust; >+ } >+ > nvp->v_type = VDIR; > if (ldep->de_StartCluster != MSDOSFSROOT) { > error = pcbmap(ldep, 0xffff, 0, &size, 0);
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 24393
: 12678