Deleted Added
full compact
newsyslog.c (111781) newsyslog.c (111820)
1/*
2 * This file contains changes from the Open Software Foundation.
3 */
4
5/*
6 * Copyright 1988, 1989 by the Massachusetts Institute of Technology
7 *
8 * Permission to use, copy, modify, and distribute this software and its

--- 11 unchanged lines hidden (view full) ---

20
21/*
22 * newsyslog - roll over selected logs at the appropriate time, keeping the a
23 * specified number of backup files around.
24 */
25
26#ifndef lint
27static const char rcsid[] =
1/*
2 * This file contains changes from the Open Software Foundation.
3 */
4
5/*
6 * Copyright 1988, 1989 by the Massachusetts Institute of Technology
7 *
8 * Permission to use, copy, modify, and distribute this software and its

--- 11 unchanged lines hidden (view full) ---

20
21/*
22 * newsyslog - roll over selected logs at the appropriate time, keeping the a
23 * specified number of backup files around.
24 */
25
26#ifndef lint
27static const char rcsid[] =
28"$FreeBSD: head/usr.sbin/newsyslog/newsyslog.c 111781 2003-03-03 02:53:35Z gad $";
28"$FreeBSD: head/usr.sbin/newsyslog/newsyslog.c 111820 2003-03-03 15:31:35Z gad $";
29#endif /* not lint */
30
31#define OSF
32#ifndef COMPRESS_POSTFIX
33#define COMPRESS_POSTFIX ".gz"
34#endif
35#ifndef BZCOMPRESS_POSTFIX
36#define BZCOMPRESS_POSTFIX ".bz2"

--- 1220 unchanged lines hidden (view full) ---

1257 warn("can't read %s pid file to restart a daemon",
1258 pid_file);
1259 (void) fclose(f);
1260 }
1261 return (pid);
1262}
1263
1264/* Skip Over Blanks */
29#endif /* not lint */
30
31#define OSF
32#ifndef COMPRESS_POSTFIX
33#define COMPRESS_POSTFIX ".gz"
34#endif
35#ifndef BZCOMPRESS_POSTFIX
36#define BZCOMPRESS_POSTFIX ".bz2"

--- 1220 unchanged lines hidden (view full) ---

1257 warn("can't read %s pid file to restart a daemon",
1258 pid_file);
1259 (void) fclose(f);
1260 }
1261 return (pid);
1262}
1263
1264/* Skip Over Blanks */
1265char *
1265static char *
1266sob(char *p)
1267{
1268 while (p && *p && isspace(*p))
1269 p++;
1270 return (p);
1271}
1272
1273/* Skip Over Non-Blanks */
1266sob(char *p)
1267{
1268 while (p && *p && isspace(*p))
1269 p++;
1270 return (p);
1271}
1272
1273/* Skip Over Non-Blanks */
1274char *
1274static char *
1275son(char *p)
1276{
1277 while (p && *p && !isspace(*p))
1278 p++;
1279 return (p);
1280}
1281
1282/*

--- 268 unchanged lines hidden ---
1275son(char *p)
1276{
1277 while (p && *p && !isspace(*p))
1278 p++;
1279 return (p);
1280}
1281
1282/*

--- 268 unchanged lines hidden ---