From kargl@troutmask.apl.washington.edu  Mon May  6 10:14:53 2002
Return-Path: <kargl@troutmask.apl.washington.edu>
Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105])
	by hub.freebsd.org (Postfix) with ESMTP id 3159637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  6 May 2002 10:14:53 -0700 (PDT)
Received: from troutmask.apl.washington.edu (localhost [127.0.0.1])
	by troutmask.apl.washington.edu (8.12.3/8.12.3) with ESMTP id g46HEqLw062121
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 6 May 2002 10:14:52 -0700 (PDT)
	(envelope-from kargl@troutmask.apl.washington.edu)
Received: (from root@localhost)
	by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g46HEqno062120;
	Mon, 6 May 2002 10:14:52 -0700 (PDT)
Message-Id: <200205061714.g46HEqno062120@troutmask.apl.washington.edu>
Date: Mon, 6 May 2002 10:14:52 -0700 (PDT)
From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
Reply-To: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: updated xinstall(1) code and comment.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37795
>Category:       bin
>Synopsis:       updated xinstall(1) code and comment.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 06 10:20:03 PDT 2002
>Closed-Date:    Sat Jul 27 12:35:30 PDT 2002
>Last-Modified:  Sat Jul 27 12:35:30 PDT 2002
>Originator:     Steven G. Kargl
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
APL-UW
>Environment:
System: FreeBSD troutmask.apl.washington.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed May 1 16:49:56 PDT 2002 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386


>Description:
	
Change a warnx() into an errx() as per the comment in xinstall.c
Reword the comment.

>How-To-Repeat:
	
>Fix:

--- xinstall.c.orig	Mon May  6 10:06:49 2002
+++ xinstall.c	Mon May  6 10:10:47 2002
@@ -174,12 +174,9 @@
 	if ((safecopy || dostrip) && dodir)
 		usage();
 
-	/*
-	 * Older versions allowed -d -C combo.  Issue a warning
-	 * for now, but turn this into an error before 4.5-RELEASE.
-	 */
+	/* Older versions allowed -d -C combo. */
 	if (docompare && dodir)
-		warnx("the -d and -C options may not be specified together");
+		errx("the -d and -C options may not be specified together");
 
 	/* must have at least two arguments, except when creating directories */
 	if (argc < 2 && !dodir)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Mon May 6 11:29:27 PDT 2002 
Responsible-Changed-Why:  
David added the comment saying that -d and -C should become an 
errore before 4.5-RELEASE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37795 
Responsible-Changed-From-To: obrien->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Wed Jul 24 23:25:40 PDT 2002 
Responsible-Changed-Why:  
Actually it was me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37795 
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Sat Jul 27 12:34:19 PDT 2002 
State-Changed-Why:  
Closed at originator's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37795 
>Unformatted:
