]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuildsbr.c
Renamed all standard sequences (e.g. cur->c) and made them globally changeable
[mmh] / uip / mhbuildsbr.c
index 873b0e3a8c2e5ca877daebe63ecd041939b4d0fa..ab8d99c1b1504140b2b6d022c0032d2f0da6d694 100644 (file)
@@ -703,7 +703,7 @@ use_forw:
                        ap = brkstring(ci->ci_magic, " ", "\n");
                        copyip(ap, arguments, MAXARGS);
                } else {
-                       arguments[0] = "cur";
+                       arguments[0] = seq_cur;
                        arguments[1] = NULL;
                }
                folder = NULL;
@@ -1120,7 +1120,7 @@ raw:
                        if ((out = fopen(ce->ce_file, "w")) == NULL)
                                adios(ce->ce_file, "unable to open for writing");
 
-                       for (i = 0; (child_id = vfork()) == NOTOK && i > 5; i++)
+                       for (i = 0; (child_id = fork()) == NOTOK && i > 5; i++)
                                sleep(5);
                        switch (child_id) {
                        case NOTOK: