Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Jun 2, 2003
1 parent 051ed63 commit bb958f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
1 change: 1 addition & 0 deletions elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion posix/getconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb958f5

Please sign in to comment.