Date: Tue, 30 Jul 1996 00:31:57 +0100 From: Aled Morris <aledm@routers.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1442: missing semicolon in /usr/src/usr.bin/chpass/edit.c Message-ID: <199607292331.AAA06008@deputy.pavilion.co.uk> Resent-Message-ID: <199607292340.QAA00330@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 1442
>Category: bin
>Synopsis: missing semicolon in /usr/src/usr.bin/chpass/edit.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 29 16:40:01 PDT 1996
>Last-Modified:
>Originator: Aled Morris
>Organization:
Routers Ltd.
>Release: FreeBSD 2.1-STABLE i386
>Environment:
Non-YP
>Description:
A missing semicolon in /usr/src/usr.bin/chpass/edit.c causes
compilation to fail if attempted without Yellow Pages support.
>How-To-Repeat:
Remove "-DYP" from Makefile and "make" (or eyeball the code)
>Fix:
*** edit.c.dist Sat Aug 26 08:15:13 1995
--- edit.c Mon Jul 29 22:31:44 1996
***************
*** 101,107 ****
"#Changing %s information for %s.\n", _use_yp ? "NIS" : "user
database", pw->pw_name);
if (!uid && !_use_yp) {
#else
! "#Changing user database information for %s.\n", pw->pw_name)
if (!uid) {
#endif /* YP */
(void)fprintf(fp, "Login: %s\n", pw->pw_name);
--- 101,107 ----
"#Changing %s information for %s.\n", _use_yp ? "NIS" : "user
database", pw->pw_name);
if (!uid && !_use_yp) {
#else
! "#Changing user database information for %s.\n", pw->pw_name);
if (!uid) {
#endif /* YP */
(void)fprintf(fp, "Login: %s\n", pw->pw_name);
--
telephone +44 973 207987 O-
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607292331.AAA06008>
