summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/cron/config.h3
-rw-r--r--usr.sbin/cron/cron.h3
-rw-r--r--usr.sbin/cron/env.c6
-rw-r--r--usr.sbin/cron/externs.h3
-rw-r--r--usr.sbin/cron/pathnames.h3
5 files changed, 11 insertions, 7 deletions
diff --git a/usr.sbin/cron/config.h b/usr.sbin/cron/config.h
index fc3371c0824..61c573bc3b0 100644
--- a/usr.sbin/cron/config.h
+++ b/usr.sbin/cron/config.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: config.h,v 1.11 2002/07/08 18:11:02 millert Exp $ */
+/* $OpenBSD: config.h,v 1.12 2002/07/08 23:42:17 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*/
+
/*
* Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
*
diff --git a/usr.sbin/cron/cron.h b/usr.sbin/cron/cron.h
index bc7b5659bf1..987b6c993a5 100644
--- a/usr.sbin/cron/cron.h
+++ b/usr.sbin/cron/cron.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: cron.h,v 1.6 2001/02/18 19:48:31 millert Exp $ */
+/* $OpenBSD: cron.h,v 1.7 2002/07/08 23:42:17 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*/
+
/*
* Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
*
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c
index f6cf2ebbcb9..09dc1e82ec5 100644
--- a/usr.sbin/cron/env.c
+++ b/usr.sbin/cron/env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: env.c,v 1.10 2002/07/08 18:11:02 millert Exp $ */
+/* $OpenBSD: env.c,v 1.11 2002/07/08 23:42:17 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*/
@@ -21,7 +21,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char const rcsid[] = "$OpenBSD: env.c,v 1.10 2002/07/08 18:11:02 millert Exp $";
+static char const rcsid[] = "$OpenBSD: env.c,v 1.11 2002/07/08 23:42:17 millert Exp $";
#endif
#include "cron.h"
@@ -50,7 +50,7 @@ env_copy(char **envp) {
char **p;
for (count = 0; envp[count] != NULL; count++)
- NULL;
+ continue;
p = (char **) malloc((count+1) * sizeof(char *)); /* 1 for the NULL */
if (p != NULL) {
for (i = 0; i < count; i++)
diff --git a/usr.sbin/cron/externs.h b/usr.sbin/cron/externs.h
index 7f8400f3533..2b4555dfa86 100644
--- a/usr.sbin/cron/externs.h
+++ b/usr.sbin/cron/externs.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: externs.h,v 1.5 2002/07/08 18:11:02 millert Exp $ */
+/* $OpenBSD: externs.h,v 1.6 2002/07/08 23:42:17 millert Exp $ */
/* Copyright 1993,1994 by Paul Vixie
* All rights reserved
*/
+
/*
* Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
*
diff --git a/usr.sbin/cron/pathnames.h b/usr.sbin/cron/pathnames.h
index aaeed25c41f..d466e8c3077 100644
--- a/usr.sbin/cron/pathnames.h
+++ b/usr.sbin/cron/pathnames.h
@@ -1,8 +1,9 @@
-/* $OpenBSD: pathnames.h,v 1.5 2002/05/09 21:22:01 millert Exp $ */
+/* $OpenBSD: pathnames.h,v 1.6 2002/07/08 23:42:17 millert Exp $ */
/* Copyright 1993,1994 by Paul Vixie
* All rights reserved
*/
+
/*
* Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
*