Author: dick
Date: 2005-03-09 14:51:04 -0500 (Wed, 09 Mar 2005)
New Revision: 41611

Modified:
   trunk/mono/mono/io-layer/ChangeLog
   trunk/mono/mono/io-layer/error.c
Log:

2005-03-09  Dick Porter  <[EMAIL PROTECTED]>

        * error.c (_wapi_get_win32_file_error): ENFILE and EMFILE should
        map to ERROR_TOO_MANY_OPEN_FILES, not ERROR_NO_MORE_FILES.  Fixes
        bug 72671.




Modified: trunk/mono/mono/io-layer/ChangeLog
===================================================================
--- trunk/mono/mono/io-layer/ChangeLog  2005-03-09 18:21:10 UTC (rev 41610)
+++ trunk/mono/mono/io-layer/ChangeLog  2005-03-09 19:51:04 UTC (rev 41611)
@@ -1,5 +1,11 @@
 2005-03-09  Dick Porter  <[EMAIL PROTECTED]>
 
+       * error.c (_wapi_get_win32_file_error): ENFILE and EMFILE should
+       map to ERROR_TOO_MANY_OPEN_FILES, not ERROR_NO_MORE_FILES.  Fixes
+       bug 72671.
+
+2005-03-09  Dick Porter  <[EMAIL PROTECTED]>
+
        * daemon.c (process_process_fork): Initialise the handle data
        before using it in the error case.  This is probably the error
        we're working around in the previous change.  Spotted by Taru Jain

Modified: trunk/mono/mono/io-layer/error.c
===================================================================
--- trunk/mono/mono/io-layer/error.c    2005-03-09 18:21:10 UTC (rev 41610)
+++ trunk/mono/mono/io-layer/error.c    2005-03-09 19:51:04 UTC (rev 41611)
@@ -164,7 +164,7 @@
                break;
        
        case ENFILE: case EMFILE:
-               ret = ERROR_NO_MORE_FILES;
+               ret = ERROR_TOO_MANY_OPEN_FILES;
                break;
 
        case ENOENT: case ENOTDIR:

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to