NetBSD Problem Report #6335
Received: (qmail 4468 invoked from network); 20 Oct 1998 19:49:05 -0000
Message-Id: <m0zVhm7-000EE8C@woffi.planix.com>
Date: Tue, 20 Oct 1998 15:48:59 -0400 (EDT)
From: Andreas Wrede <andreas@planix.com>
Reply-To: Andreas Wrede <andreas@planix.com>
To: gnats-bugs@gnats.netbsd.org
Subject: midiplay -f option
X-Send-Pr-Version: 3.95
>Number: 6335
>Category: bin
>Synopsis: midiplay -f option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 20 12:50:01 +0000 1998
>Closed-Date: Tue Oct 20 20:37:06 +0000 1998
>Last-Modified: Tue Oct 20 20:37:45 +0000 1998
>Originator: Andreas Wrede
>Release: <NetBSD-current source date>-current Oct 20/98
>Organization:
Planix, Inc.
>Environment:
System: NetBSD woffi 1.3H NetBSD 1.3H (WOFFI) #0: Tue Oct 20 12:44:52 EDT 1998 root@woffi:/local1/netbsd/netbsd-current/src/sys/arch/i386/compile/WOFFI i386
>Description:
The 'f' option is missing from the argument in the getopt() call.
>How-To-Repeat:
run midiplay -f, observe error msg
>Fix:
Apply fix:
*** src/usr.bin/midiplay/midiplay.c.orig Fri Aug 14 07:14:33 1998
--- src/usr.bin/midiplay/midiplay.c Tue Oct 20 15:40:04 1998
***************
*** 497,503 ****
struct synth_info info;
FILE *f;
! while ((ch = getopt(argc, argv, "?d:lmqt:vx")) != -1) {
switch(ch) {
case 'd':
unit = atoi(optarg);
--- 497,503 ----
struct synth_info info;
FILE *f;
! while ((ch = getopt(argc, argv, "?d:f:lmqt:vx")) != -1) {
switch(ch) {
case 'd':
unit = atoi(optarg);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: augustss
State-Changed-When: Tue Oct 20 13:37:06 PDT 1998
State-Changed-Why:
Patch applied.
>Unformatted:
midiplay does not accept the -f option
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.