When an empty filename is passed in directory search, find all (*) entries, not

the current directory (.)

svn path=/trunk/; revision=4017
This commit is contained in:
Gé van Geldorp 2003-01-16 22:02:24 +00:00
parent bf924ece94
commit 1bfce04639

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 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 * PROJECT: ReactOS kernel
* FILE: services/fs/vfat/create.c * FILE: services/fs/vfat/create.c
@ -201,7 +201,7 @@ FindFile (PDEVICE_EXTENSION DeviceExt,
if (wcslen (FileToFind) == 0) if (wcslen (FileToFind) == 0)
{ {
CHECKPOINT; CHECKPOINT;
TempStr[0] = (WCHAR) '.'; TempStr[0] = (WCHAR) '*';
TempStr[1] = 0; TempStr[1] = 0;
FileToFind = (PWSTR)&TempStr; FileToFind = (PWSTR)&TempStr;
} }