From 1bfce046396e233ded274a70a5d25de52f08fca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Thu, 16 Jan 2003 22:02:24 +0000 Subject: [PATCH] When an empty filename is passed in directory search, find all (*) entries, not the current directory (.) svn path=/trunk/; revision=4017 --- reactos/drivers/fs/vfat/create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/fs/vfat/create.c b/reactos/drivers/fs/vfat/create.c index b70db34efb8..abc199178f4 100644 --- a/reactos/drivers/fs/vfat/create.c +++ b/reactos/drivers/fs/vfat/create.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: create.c,v 1.51 2003/01/15 19:53:49 chorns Exp $ +/* $Id: create.c,v 1.52 2003/01/16 22:02:24 gvg Exp $ * * PROJECT: ReactOS kernel * FILE: services/fs/vfat/create.c @@ -201,7 +201,7 @@ FindFile (PDEVICE_EXTENSION DeviceExt, if (wcslen (FileToFind) == 0) { CHECKPOINT; - TempStr[0] = (WCHAR) '.'; + TempStr[0] = (WCHAR) '*'; TempStr[1] = 0; FileToFind = (PWSTR)&TempStr; }