diff options
author | Thomas White <taw@physics.org> | 2011-03-09 16:31:14 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:19 +0100 |
commit | 119608ac2a339aca282812e9cbdc3bb015c1040c (patch) | |
tree | b8e2ad1db24a406788c980f2a163bd18ce34a6fb | |
parent | 6b67dc7ba7301274167519d5fcc38161b1a791a9 (diff) |
Remove _WNOTHREAD - shouldn't be needed
-rw-r--r-- | src/dirax.c | 2 | ||||
-rw-r--r-- | src/mosflm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dirax.c b/src/dirax.c index 626560da..35a2b1ce 100644 --- a/src/dirax.c +++ b/src/dirax.c @@ -515,7 +515,7 @@ void run_dirax(struct image *image) close(dirax->pty); free(dirax->rbuffer); - waitpid(dirax->pid, &status, __WNOTHREAD); + waitpid(dirax->pid, &status, 0); free(dirax); } diff --git a/src/mosflm.c b/src/mosflm.c index 562b58d7..0fc8c695 100644 --- a/src/mosflm.c +++ b/src/mosflm.c @@ -590,7 +590,7 @@ void run_mosflm(struct image *image, UnitCell *cell) close(mosflm->pty); free(mosflm->rbuffer); - waitpid(mosflm->pid, &status, __WNOTHREAD); + waitpid(mosflm->pid, &status, 0); /* Read the mosflm NEWMAT file and set cell candidate * * Existence of this file means possible success. Pretty shady. */ |