Commit in reactos/lib/kernel32/file on MAIN
create.c+2-21.40 -> 1.41
delete.c+4-11.17 -> 1.18
+6-3
2 modified files
make some wine reg. tests pass

reactos/lib/kernel32/file
create.c 1.40 -> 1.41
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
delete.c 1.17 -> 1.18
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);
 
CVSspam 0.2.8