From aledm@routers.co.uk  Mon Jul 29 16:32:04 1996
Received: from deputy.pavilion.co.uk (deputy.pavilion.co.uk [194.242.128.24])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA29897
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 29 Jul 1996 16:32:02 -0700 (PDT)
Received: from dialup1-36.pavilion.co.uk (dialup1-36.pavilion.co.uk [194.242.131.100]) by deputy.pavilion.co.uk (8.7/8.7) with SMTP id AAA06008 for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Jul 1996 00:31:21 +0100 (BST)
Message-Id: <199607292331.AAA06008@deputy.pavilion.co.uk>
Date: Tue, 30 Jul 1996 00:31:57 +0100
From: Aled Morris <aledm@routers.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Subject: missing semicolon in /usr/src/usr.bin/chpass/edit.c

>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:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 29 16:40:01 PDT 1996
>Closed-Date:    Sun Aug 4 15:34:53 PDT 1996
>Last-Modified:  Sun Aug  4 15:35:41 PDT 1996
>Originator:     Aled Morris
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Routers Ltd.
>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-

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Sun Aug 4 15:34:53 PDT 1996 
State-Changed-Why:  
Fixed by wpaul in rev 1.4.4.2. 
>Unformatted:
