[Pvfs2-cvs] commit by slang in pvfs2/src/server: pvfs2-server.c statfs.sm

CVS commit program cvs at parl.clemson.edu
Fri Apr 17 15:18:27 EDT 2009


Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv32398/src/server

Modified Files:
      Tag: solaris-branch
	pvfs2-server.c statfs.sm 
Log Message:
initial support for solaris.  doesn't include /dev/epoll support.  See trac ticket #97.


Index: pvfs2-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.c,v
diff -p -u -r1.269 -r1.269.2.1
--- pvfs2-server.c	6 Apr 2009 20:50:45 -0000	1.269
+++ pvfs2-server.c	17 Apr 2009 19:18:27 -0000	1.269.2.1
@@ -1161,7 +1161,11 @@ static int server_setup_signal_handlers(
 
     segv_action.sa_sigaction = (void *)bt_sighandler;
     sigemptyset (&segv_action.sa_mask);
+#ifdef _SOLARIS
+    segv_action.sa_flags = SA_RESTART | SA_SIGINFO | SA_RESETHAND;
+#else
     segv_action.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONESHOT;
+#endif
 #endif
 
     /* Set up the structure to specify the new action. */

Index: statfs.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/statfs.sm,v
diff -p -u -r1.17 -r1.17.18.1
--- statfs.sm	11 Feb 2008 17:25:30 -0000	1.17
+++ statfs.sm	17 Apr 2009 19:18:27 -0000	1.17.18.1
@@ -15,7 +15,7 @@
 #include "trove-handle-mgmt.h"
 #include "pint-cached-config.h"
 
-#ifdef HAVE_SYSINFO
+#ifdef HAVE_SYSINFO_H
 #include <sys/sysinfo.h>
 #endif
 



More information about the Pvfs2-cvs mailing list