Subject: lib/25160: getsubopt.c duplicated in libc
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <email@example.com>
Date: 04/12/2004 18:00:28
>Synopsis: There appear to be two copies of getsubopt.c in libc.
>Arrival-Date: Mon Apr 12 22:01:00 UTC 2004
>Originator: David A. Holland <firstname.lastname@example.org>
>Release: NetBSD 1.6ZG (20031215)
- David A. Holland / email@example.com
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
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' Makefile.inc, 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...