NetBSD-Bugs archive

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

bin/45004: mkdep(1) empty suffixes list does not work as expected



>Number:         45004
>Category:       bin
>Synopsis:       mkdep(1) empty suffixes list does not work as expected
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 30 18:10:00 +0000 2011
>Originator:     Nicolas Joly
>Release:        NetBSD 5.99.52
>Organization:
Institut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 5.99.52 NetBSD 5.99.52 (LANFEUST) #6: 
Mon May 30 16:03:18 CEST 2011 
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST
 amd64
Architecture: x86_64
Machine: amd64
>Description:
mkdep(1) does not work as expected when given an empty suffixes list.
It outputs a `.o' suffix where it should not.

njoly@lanfeust [~]> touch sample.c
njoly@lanfeust [~]> mkdep -s '' sample.c 
njoly@lanfeust [~]> cat .depend 
sample.o: sample.c

The correct .depend content should be `sample: sample.c' instead.
Using the `-p' option give the same results.
>How-To-Repeat:
Run the t_mkdep testcase (to be added soon).
>Fix:



Home | Main Index | Thread Index | Old Index