Subject: lib/25160: getsubopt.c duplicated in libc
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/12/2004 18:00:28
>Number:         25160
>Category:       lib
>Synopsis:       There appear to be two copies of getsubopt.c in libc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 12 22:01:00 UTC 2004
>Originator:     David A. Holland <>
>Release:        NetBSD 1.6ZG (20031215)
   - David A. Holland /
System: NetBSD alicante 1.6ZG NetBSD 1.6ZG (ALICANTE) #8: Wed Mar 17 18:47:39 EST 2004 dholland@alicante:/usr/src/sys/arch/i386/compile/ALICANTE i386
Architecture: i386
Machine: i386

	src/lib/libc/gen/getsubopt.c and src/lib/libc/stdlib/getsubopt.c
	are slightly different copies of the same file.

	Both are listed in their respective subdirs', but
	because the makefile uses search paths for sources, make
	doesn't detect a conflict.

	It appears that the one in stdlib/ is the one that actually
	ends up being used.

	This was noticed in a tree from 20031215 (as noted above) but
	appears not to have been fixed in the interim.


	Merge the two copies and delete one...