From 91a9d5d368e5ab9272b2e01ceae7544b01b185df Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 19 Oct 2003 17:07:58 +0000 Subject: [PATCH] - Fixed a bug in vfatGetNextDirEntry to get the first entry from a directory, usually the '.' for a sub directory. svn path=/trunk/; revision=6374 --- reactos/drivers/fs/vfat/direntry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/fs/vfat/direntry.c b/reactos/drivers/fs/vfat/direntry.c index d70263887d1..4022975670a 100644 --- a/reactos/drivers/fs/vfat/direntry.c +++ b/reactos/drivers/fs/vfat/direntry.c @@ -1,4 +1,4 @@ -/* $Id: direntry.c,v 1.15 2003/10/11 17:51:56 hbirr Exp $ +/* $Id: direntry.c,v 1.16 2003/10/19 17:07:58 hbirr Exp $ * * * FILE: DirEntry.c @@ -169,7 +169,7 @@ NTSTATUS vfatGetNextDirEntry(PVOID * pContext, } } - if (!ENTRY_END(fatDirEntry) && + if (Back && !ENTRY_END(fatDirEntry) && (ENTRY_DELETED(fatDirEntry) || !ENTRY_LONG(fatDirEntry))) { DirContext->DirIndex++;