reactos/lib/kernel32/file
diff -u -r1.40 -r1.41
--- create.c 12 Oct 2004 22:04:51 -0000 1.40
+++ create.c 29 Nov 2004 17:31:21 -0000 1.41
@@ -1,4 +1,4 @@
-/* $Id: create.c,v 1.40 2004/10/12 22:04:51 gvg Exp $
+/* $Id: create.c,v 1.41 2004/11/29 17:31:21 gdalsnes Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -134,7 +134,7 @@
NULL))
{
DPRINT("Invalid path\n");
- SetLastError(ERROR_BAD_PATHNAME);
+ SetLastError(ERROR_PATH_NOT_FOUND);
return INVALID_HANDLE_VALUE;
}
reactos/lib/kernel32/file
diff -u -r1.17 -r1.18
--- delete.c 18 Aug 2004 02:13:27 -0000 1.17
+++ delete.c 29 Nov 2004 17:31:21 -0000 1.18
@@ -1,4 +1,4 @@
-/* $Id: delete.c,v 1.17 2004/08/18 02:13:27 navaraf Exp $
+/* $Id: delete.c,v 1.18 2004/11/29 17:31:21 gdalsnes Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -77,7 +77,10 @@
&NtPathU,
NULL,
NULL))
+ {
+ SetLastError(ERROR_PATH_NOT_FOUND);
return FALSE;
+ }
DPRINT("NtPathU \'%wZ\'\n", &NtPathU);