mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
fix for task shell failure on linux
This commit is contained in:
parent
45265e79ce
commit
86a8c86ab1
1 changed files with 20 additions and 0 deletions
20
web/support/patches/4.7/util_system.patch
Normal file
20
web/support/patches/4.7/util_system.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- util_system.c 2005-01-06 17:19:40.000000000 -0800
|
||||
+++ /home/edo/nwchem/src/util/util_system.c 2006-02-15 10:32:22.000000000 -0800
|
||||
@@ -16,7 +16,7 @@
|
||||
#ifdef WIN32
|
||||
#include "typesf2c.h"
|
||||
#endif
|
||||
-#if (defined (LINUX) || defined (DECOSF)) && !defined(__x86_64__)
|
||||
+#if defined (DECOSF)
|
||||
#define __USE_BSD
|
||||
#include <signal.h>
|
||||
#undef __USE_BSD
|
||||
@@ -48,7 +48,7 @@
|
||||
if (!fortchar_to_string(input, lin, in, sizeof(in)))
|
||||
ga_error("util_system: fortchar_to_string failed for in",0);
|
||||
|
||||
-#if (defined(LINUX) || defined(DECOSF)) && !defined(__x86_64__)
|
||||
+#if defined(DECOSF)
|
||||
Siginit = signal(SIGCHLD,SIG_IGN);
|
||||
i = system(in);
|
||||
Siginit = signal(SIGCHLD,Siginit);
|
||||
Loading…
Add table
Add a link
Reference in a new issue