Date: Wed, 1 Sep 1999 13:52:03 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/13521: Patch for improper argument processing in yp_mkdb.c Message-ID: <199909011152.NAA80857@internal>
index | next in thread | raw e-mail
>Number: 13521
>Category: bin
>Synopsis: Patch for improper argument processing in yp_mkdb.c
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 1 05:00:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Andre Albsmeier
>Release: FreeBSD 3.2-STABLE i386
>Organization:
>Environment:
Recent FreeBSD 3.2-STABLE and, I think, -current.
>Description:
-d is the parameter that gets an argument, not -f.
>How-To-Repeat:
cd /var/yp
touch src/group
make
>Fix:
--- usr.sbin/yp_mkdb/yp_mkdb.c.ORI Wed Sep 1 12:21:34 1999
+++ usr.sbin/yp_mkdb/yp_mkdb.c Wed Sep 1 12:21:54 1999
@@ -118,7 +118,7 @@
FILE *ifp;
char hname[MAXHOSTNAMELEN + 2];
- while ((ch = getopt(argc, argv, "uhcbsdf:i:o:m:")) != -1) {
+ while ((ch = getopt(argc, argv, "uhcbsfd:i:o:m:")) != -1) {
switch(ch) {
case 'f':
filter_plusminus++;
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909011152.NAA80857>
