commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r804215 - /commons/sandbox/runtime/trunk/src/main/native/test/testcase.c
Date Fri, 14 Aug 2009 13:23:02 GMT
Author: mturk
Date: Fri Aug 14 13:23:02 2009
New Revision: 804215

URL: http://svn.apache.org/viewvc?rev=804215&view=rev
Log:
Use fork() when attaching shared memory

Modified:
    commons/sandbox/runtime/trunk/src/main/native/test/testcase.c

Modified: commons/sandbox/runtime/trunk/src/main/native/test/testcase.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/test/testcase.c?rev=804215&r1=804214&r2=804215&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/test/testcase.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/test/testcase.c Fri Aug 14 13:23:02 2009
@@ -683,7 +683,7 @@
 #else
     if (fork() == 0) {
         int rc = ACR_ShmAttach(_E, shr_name);
-        fprintf(stdout, "Attach returned %d\n", rc);
+        fprintf(stdout, "Attach returned %d errno=%d\n", rc, errno);
         fflush(stdout);
         exit(0);
     }



Mime
View raw message