Date: Mon, 6 May 2002 10:14:52 -0700 (PDT) From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/37795: updated xinstall(1) code and comment. Message-ID: <200205061714.g46HEqno062120@troutmask.apl.washington.edu>
index | next in thread | raw e-mail
>Number: 37795
>Category: bin
>Synopsis: updated xinstall(1) code and comment.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon May 06 10:20:03 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205061714.g46HEqno062120>
