diff options
author | peter <peter@FreeBSD.org> | 1999-09-06 17:30:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-09-06 17:30:03 +0000 |
commit | cc8565d1c5634a6a893afb9125335e2a5ecaa4d3 (patch) | |
tree | 58938fae2dfe2f2f85a03bf3196a7bf36f7135ca /usr.bin/chpass | |
parent | 2a9e7395d5400df0e7b30cbd66da12f4a494e661 (diff) | |
download | FreeBSD-src-cc8565d1c5634a6a893afb9125335e2a5ecaa4d3.zip FreeBSD-src-cc8565d1c5634a6a893afb9125335e2a5ecaa4d3.tar.gz |
Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and
we have enough pseudo-options already.
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r-- | usr.bin/chpass/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/chpass/pw_copy.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index 37374d2..c17a4ce 100644 --- a/usr.bin/chpass/Makefile +++ b/usr.bin/chpass/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.2 (Berkeley) 4/2/94 PROG= chpass -CFLAGS+=-Wall -DPASSWD_IGNORE_COMMENTS +CFLAGS+=-Wall SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c pw_yp.c \ table.c util.c ypxfr_misc.c ${GENSRCS} GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c yppasswd_private.h \ diff --git a/usr.bin/chpass/pw_copy.c b/usr.bin/chpass/pw_copy.c index 9018e4b..5d5a7de 100644 --- a/usr.bin/chpass/pw_copy.c +++ b/usr.bin/chpass/pw_copy.c @@ -85,7 +85,6 @@ pw_copy(ffd, tfd, pw) goto err; continue; } -#ifdef PASSWD_IGNORE_COMMENTS for (p = buf; *p != '\n'; p++) if (*p != ' ' && *p != '\t') break; @@ -95,7 +94,6 @@ pw_copy(ffd, tfd, pw) goto err; continue; } -#endif if (!(p = strchr(buf, ':'))) { warnx("%s: corrupted entry", _PATH_MASTERPASSWD); pw_error(NULL, 0, 1); |