[hackers] [sbase] Rename runcmd() to spawn() || sin
commit 2d64fa94830d0ae76e4cbcb65499ac9fdc9c594b
Author: sin <sin_AT_2f30.org>
Date: Wed Jan 8 20:27:27 2014 +0000
Rename runcmd() to spawn()
diff --git a/xargs.c b/xargs.c
index 451a053..cecba80 100644
--- a/xargs.c
+++ b/xargs.c
_AT_@ -21,7 +21,7 @@ static int parseescape(void);
static char *poparg(void);
static void deinputstr(char *);
static void waitchld(void);
-static void runcmd(void);
+static void spawn(void);
static char **cmd;
static char *argb;
_AT_@ -94,7 +94,7 @@ main(int argc, char *argv[])
i++;
}
cmd[i] = NULL;
- if (i == 1 && rflag == 1); else runcmd();
+ if (i == 1 && rflag == 1); else spawn();
for (; i >= 0; i--)
free(cmd[i]);
} while (arg);
_AT_@ -248,7 +248,7 @@ waitchld(void)
}
static void
-runcmd(void)
+spawn(void)
{
pid_t pid;
int saved_errno;
Received on Wed Jan 08 2014 - 21:35:24 CET
This archive was generated by hypermail 2.3.0
: Wed Jan 08 2014 - 21:36:16 CET