-/* $OpenBSD: util.c,v 1.2 1996/06/23 14:20:57 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.3 1996/09/03 09:35:31 deraadt Exp $ */
/* $NetBSD: util.c,v 1.2 1995/03/21 08:19:08 cgd Exp $ */
/*-
#if 0
static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: util.c,v 1.2 1996/06/23 14:20:57 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: util.c,v 1.3 1996/09/03 09:35:31 deraadt Exp $";
#endif
#endif /* not lint */
colon(cp)
char *cp;
{
- if (*cp == ':') /* Leading colon is part of file name. */
- return (0);
-
for (; *cp; ++cp) {
if (*cp == ':')
return (cp);
char *s;
{
sig_t istat, qstat;
- int status, w;
+ int status;
pid_t pid;
pid = vfork();