projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We are making POSIX signal support a requirement.
[mmh]
/
uip
/
mhbuild.c
diff --git
a/uip/mhbuild.c
b/uip/mhbuild.c
index
3432ccc
..
06a353a
100644
(file)
--- a/
uip/mhbuild.c
+++ b/
uip/mhbuild.c
@@
-36,10
+36,6
@@
# endif
#endif
# endif
#endif
-#ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-
static struct swit switches[] = {
#define CHECKSW 0
{ "check", 0 },
static struct swit switches[] = {
#define CHECKSW 0
{ "check", 0 },
@@
-1058,8
+1054,14
@@
use_forw:
struct msgs *mp;
if (ci->ci_magic) {
struct msgs *mp;
if (ci->ci_magic) {
+ int i;
+
ap = brkstring(ci->ci_magic, " ", "\n");
ap = brkstring(ci->ci_magic, " ", "\n");
- copyip(ap, arguments, MAXARGS);
+ for (i=0; ap[i] && i<MAXARGS-1; i++) {
+ arguments[i] = ap[i];
+ }
+ arguments[i] = NULL;
+
} else {
arguments[0] = seq_cur;
arguments[1] = NULL;
} else {
arguments[0] = seq_cur;
arguments[1] = NULL;