NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/53742: src/etc/MAKEDEV.tmpl rev 1.196 has duplicate case label



>Number:         53742
>Category:       bin
>Synopsis:       src/etc/MAKEDEV.tmpl rev 1.196 has duplicate case pattern
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 25 13:35:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.26
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.26 NetBSD 8.99.26 (NIGHT-OWL) #629: Mon Nov 19 06:49:23 CET 2018 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

There is a duplicate switch case pattern "apm)" in etc/MAKEDEV.tmpl.
I have no idea how sh(1) resolves this (I guess by always using the first,
so the second is dead code) or how it is supposed to work, but
we should either comment it properly or avoid it.

>How-To-Repeat:
Code inspection

>Fix:
n/a



Home | Main Index | Thread Index | Old Index