[Box Backup-commit] COMMIT r956 - box/chris/merge/lib/win32

subversion at fluffy.co.uk subversion at fluffy.co.uk
Mon Sep 4 00:53:13 BST 2006


Author: chris
Date: 2006-09-04 00:53:13 +0100 (Mon, 04 Sep 2006)
New Revision: 956

Modified:
   box/chris/merge/lib/win32/emu.cpp
Log:
(refs #3)

Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT)


Modified: box/chris/merge/lib/win32/emu.cpp
===================================================================
--- box/chris/merge/lib/win32/emu.cpp	2006-09-03 23:52:19 UTC (rev 955)
+++ box/chris/merge/lib/win32/emu.cpp	2006-09-03 23:53:13 UTC (rev 956)
@@ -730,7 +730,8 @@
 	{
 		DWORD err = GetLastError();
 
-		if (err == ERROR_FILE_NOT_FOUND)
+		if (err == ERROR_FILE_NOT_FOUND ||
+			err == ERROR_PATH_NOT_FOUND)
 		{
 			errno = ENOENT;
 		}




More information about the Boxbackup-commit mailing list