diff options
author | wollman <wollman@FreeBSD.org> | 1999-01-21 17:46:19 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1999-01-21 17:46:19 +0000 |
commit | 704d8282475b2a01ab2303f41fc07a752381ba29 (patch) | |
tree | fa346c365fa2596c643775bd10ddacbae657b852 /usr.sbin/zic/scheck.c | |
parent | 8e5b9c1b13b1386578a9b8537e6b9c49fae067b2 (diff) | |
download | FreeBSD-src-704d8282475b2a01ab2303f41fc07a752381ba29.zip FreeBSD-src-704d8282475b2a01ab2303f41fc07a752381ba29.tar.gz |
Merge changes from vendor branch (tzcode1999a), plus the following additional
changes:
- Finish migrating zic to its own private.h.
- Fix zic.8 so that it really is written in -mdoc.
- Add four new flags to zic (&document):
-D don't create directories
-u change ownership of newly-created files to user
-g change ownership of newly-created files to group
-m change mode of newly-created files to modespec
These, once proven, can be used to clean up the installation.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz (partially)
Diffstat (limited to 'usr.sbin/zic/scheck.c')
-rw-r--r-- | usr.sbin/zic/scheck.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/zic/scheck.c b/usr.sbin/zic/scheck.c index 313068d..d268a11 100644 --- a/usr.sbin/zic/scheck.c +++ b/usr.sbin/zic/scheck.c @@ -1,25 +1,22 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)scheck.c 8.13"; +static char elsieid[] = "@(#)scheck.c 8.15"; #endif /* !defined lint */ #endif /* !defined NOID */ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: scheck.c,v 1.3 1999/01/21 17:12:49 wollman Exp $"; #endif /* not lint */ /*LINTLIBRARY*/ #include "private.h" -extern char * imalloc P((int n)); -extern void ifree P((char * p)); - char * scheck(string, format) const char * const string; -char * const format; +const char * const format; { register char * fbuf; register const char * fp; |