[ros-diffs] [hbirr] 13277: - Fixed the directory index of a file
for FATX.
Hervé Poussineau
poussine at freesurf.fr
Tue Jan 25 22:25:30 CET 2005
hbirr at svn.reactos.com a écrit :
> - Fixed the directory index of a file for FATX.
>
> + ULONG startIndex = rcFcb->startIndex;
> + if ((rcFcb->Flags & FCB_IS_FATX_ENTRY) && !vfatFCBIsRoot(Parent))
>
> {
>
> + startIndex += 2;
> + }
> + if(startIndex >= DirContext->DirIndex)
> + {
This change looks suspicious to me.
"." and ".." don't exist on a FATX volume. They are FAT12/16/32 specific.
Please revert related changes in create.c, dirw.c, direntry.c, fcb.c
Hervé
PS:
Comment in direntry.c ("need to add . and .. entries".) is not very
clear. It may be modified to "Need to add . and .. entries, because they
don't exist in a FATX subdir"
More information about the Ros-diffs
mailing list