HP doesn't like exit() without a parameter.
authorRobert Brunner <rbrunner@uiuc.edu>
Mon, 16 Mar 1998 17:36:43 +0000 (17:36 +0000)
committerRobert Brunner <rbrunner@uiuc.edu>
Mon, 16 Mar 1998 17:36:43 +0000 (17:36 +0000)
src/langs/pvmc/pvmc_comm.c

index 78d6496d83ba89f060374ae46a9df9cb0579fb9b..b0772442be55cef649afd4230e8d77b1735cb28c 100644 (file)
@@ -50,7 +50,7 @@ void pvmc_init_comm(void)
   if (CpvAccess(recv_seq_num)==NULL) {
     PRINTF("Pe(%d) tid=%d:%s:%d pvmc_init_comm() can't allocate seq buffer\n",
           MYPE(),pvm_mytid(),__FILE__,__LINE__);
-    exit();
+    exit(1);
   }
   for(i=0; i<CmiNumPes(); i++)
     CpvAccess(recv_seq_num)=0;
@@ -61,7 +61,7 @@ void pvmc_init_comm(void)
   if (CpvAccess(send_seq_num)==NULL) {
     PRINTF("Pe(%d) tid=%d:%s:%d pvmc_init_comm() can't allocate seq buffer\n",
           MYPE(),pvm_mytid(),__FILE__,__LINE__);
-    exit();
+    exit(1);
   }
   for(i=0; i<CmiNumPes(); i++)
     CpvAccess(send_seq_num)[i]=0;
@@ -89,7 +89,7 @@ static void pvmc_control_handler_func(control_msg *msg)
     break;
   case PVMC_CTRL_KILL:
     ConverseExit();
-    exit();
+    exit(0);
     break;
   default:
     PRINTF("WARNING: %s:%d, Illegal control message\n",__FILE__,__LINE__);