[hackers] [sbase] Rename `saved_errno' to `savederrno' || sin
commit 7028920ff46cad735cf7611d252f9096811346ac
Author: sin <sin_AT_2f30.org>
Date: Mon Jan 27 15:16:43 2014 +0000
Rename `saved_errno' to `savederrno'
diff --git a/xargs.c b/xargs.c
index 102c225..ce465ce 100644
--- a/xargs.c
+++ b/xargs.c
_AT_@ -235,16 +235,16 @@ static void
spawn(void)
{
pid_t pid;
- int saved_errno;
+ int savederrno;
pid = fork();
if (pid < 0)
eprintf("fork:");
if (pid == 0) {
execvp(*cmd, cmd);
- saved_errno = errno;
+ savederrno = errno;
weprintf("execvp %s:", *cmd);
- _exit(saved_errno == ENOENT ? 127 : 126);
+ _exit(savederrno == ENOENT ? 127 : 126);
}
waitchld();
}
Received on Mon Jan 27 2014 - 16:18:46 CET
This archive was generated by hypermail 2.3.0
: Mon Jan 27 2014 - 16:24:10 CET