commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r820661 - in /commons/sandbox/runtime/trunk/src/main/native/os: unix/ios.c win32/ios.c
Date Thu, 01 Oct 2009 14:01:11 GMT
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;



Mime
View raw message