NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/55057: config(1) processing of elif{,n}def broken
>Number: 55057
>Category: bin
>Synopsis: config(1) processing of elif{,n}def broken
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 07 18:15:01 +0000 2020
>Originator: Paul Goyette
>Release: NetBSD 9.99.46
>Organization:
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
+--------------------+--------------------------+-----------------------+
>Environment:
System: NetBSD speedy.whooppee.com 9.99.46 NetBSD 9.99.46 (SPEEDY 2020-02-07 16:26:35 UTC) #1: Fri Feb 7 19:37:58 UTC 2020 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
The construct
if attr1
defflag X
elifdef attr2
defflag Y
else
defflag Y : Z
endif
is broken. It appears to execute both "Y" commands, resulting in an
error message (due to redefinition of Y).
>How-To-Repeat:
>Fix:
Unknown.
However, the following is a workaround (although it increases the
depth of the if...endif code):
if attr1
defflag X
else
if attr2
defflag Y
else
if attr3
defflag Y : Z
endif
endif
endif
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index