2003-06-02  Ulrich Drepper  <drepper@redhat.com>

	* posix/getconf.c (main): Also recognize names without the
	__POSIX_ prefix.

	* elf/Makefile (CFLAGS-dl-lookup.c): Define.
This commit is contained in:
Ulrich Drepper 2003-06-02 22:44:59 +00:00
parent 051ed63dd9
commit bb958f59aa
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2003-06-02 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c (main): Also recognize names without the
__POSIX_ prefix.
* elf/Makefile (CFLAGS-dl-lookup.c): Define.
2003-06-02 Bernd Schmidt <bernds@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp,

View File

@ -83,6 +83,7 @@ distribute := rtld-Rules \
check-textrel.c dl-sysdep.h
CFLAGS-dl-runtime.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-dl-lookup.c = -fexceptions -fasynchronous-unwind-tables
include ../Makeconfig

View File

@ -957,7 +957,9 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
usage ();
for (c = vars; c->name != NULL; ++c)
if (!strcmp (c->name, argv[1]))
if (strcmp (c->name, argv[1]) == 0
|| (strncmp (c->name, "_POSIX_", 7) == 0
&& strcmp (c->name + 7, argv[1]) == 0))
{
long int value;
size_t clen;