mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
spacing
This commit is contained in:
parent
ba57ce93c6
commit
ec017aef6a
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: strnsubst.c,v 1.2 2003/06/12 03:23:22 millert Exp $ */
|
||||
/* $OpenBSD: strnsubst.c,v 1.3 2005/11/01 04:52:58 deraadt Exp $ */
|
||||
/* $FreeBSD: strnsubst.c,v 1.6 2002/06/22 12:58:42 jmallett Exp $ */
|
||||
|
||||
/*
|
||||
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid[] = "$OpenBSD: strnsubst.c,v 1.2 2003/06/12 03:23:22 millert Exp $";
|
||||
static const char rcsid[] = "$OpenBSD: strnsubst.c,v 1.3 2005/11/01 04:52:58 deraadt Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <err.h>
|
||||
@ -73,7 +73,7 @@ done:
|
||||
#ifdef TEST
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char *x, *y, *z, *za;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: xargs.c,v 1.23 2005/09/26 20:32:04 fgsch Exp $ */
|
||||
/* $OpenBSD: xargs.c,v 1.24 2005/11/01 04:52:59 deraadt Exp $ */
|
||||
/* $FreeBSD: xargs.c,v 1.51 2003/05/03 19:09:11 obrien Exp $ */
|
||||
|
||||
/*-
|
||||
@ -45,7 +45,7 @@ static const char copyright[] =
|
||||
#if 0
|
||||
static const char sccsid[] = "@(#)xargs.c 8.1 (Berkeley) 6/6/93";
|
||||
#else
|
||||
static const char rcsid[] = "$OpenBSD: xargs.c,v 1.23 2005/09/26 20:32:04 fgsch Exp $";
|
||||
static const char rcsid[] = "$OpenBSD: xargs.c,v 1.24 2005/11/01 04:52:59 deraadt Exp $";
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -539,7 +539,7 @@ exec:
|
||||
close(fd);
|
||||
}
|
||||
execvp(argv[0], argv);
|
||||
warn("%s", argv[0]);
|
||||
warn("%s", argv[0]);
|
||||
_exit(errno == ENOENT ? 127 : 126);
|
||||
}
|
||||
curprocs++;
|
||||
@ -566,7 +566,7 @@ waitchildren(const char *name, int waitall)
|
||||
if (WEXITSTATUS(status) == 255) {
|
||||
warnx("%s exited with status 255", name);
|
||||
exit(124);
|
||||
} else if (WEXITSTATUS(status) == 127 ||
|
||||
} else if (WEXITSTATUS(status) == 127 ||
|
||||
WEXITSTATUS(status) == 126) {
|
||||
exit(WEXITSTATUS(status));
|
||||
} else if (WEXITSTATUS(status) != 0) {
|
||||
@ -609,7 +609,7 @@ prompt(void)
|
||||
(void)fclose(ttyfp);
|
||||
return (0);
|
||||
}
|
||||
response[rsize - 1] = '\0';
|
||||
response[rsize - 1] = '\0';
|
||||
match = regexec(&cre, response, 0, NULL, 0);
|
||||
(void)fclose(ttyfp);
|
||||
regfree(&cre);
|
||||
|
Loading…
Reference in New Issue
Block a user