You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/10/01 16:01:11 UTC

svn commit: r820661 - in /commons/sandbox/runtime/trunk/src/main/native/os: unix/ios.c win32/ios.c

Author: mturk
Date: Thu Oct  1 14:01:10 2009
New Revision: 820661

URL: http://svn.apache.org/viewvc?rev=820661&view=rev
Log:
Use CLEAR flag when doing IOH system close

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c
    commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c?rev=820661&r1=820660&r2=820661&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c Thu Oct  1 14:01:10 2009
@@ -301,7 +301,7 @@
         if (IS_VALID_HANDLE(acr_ioh_tab[i].h) && acr_ioh_tab[i].c) {
             /* Run the cleanups */
             (*acr_ioh_tab[i].c)(acr_ioh_tab[i].h, acr_ioh_tab[i].type,
-                                acr_ioh_tab[i].flags);
+                                acr_ioh_tab[i].flags | ACR_IOH_CLEAR);
         }
     }
     x_free(acr_ioh_tab);

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c?rev=820661&r1=820660&r2=820661&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c Thu Oct  1 14:01:10 2009
@@ -250,7 +250,7 @@
     if (IS_VALID_HANDLE(acr_ioh_tab[i].h) && acr_ioh_tab[i].c) {
         /* Run the cleanup */
         rc = (*acr_ioh_tab[i].c)(acr_ioh_tab[i].h, acr_ioh_tab[i].type,
-                                 acr_ioh_tab[i].flags);
+                                 acr_ioh_tab[i].flags | ACR_IOH_CLEAR);
     }
 
     return rc;