[BZ #391]
commitf6f43da73fd9b4e758959e854c40feb69a762aad
authorRoland McGrath <roland@gnu.org>
Mon, 20 Sep 2004 20:56:19 +0000 (20 20:56 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 20 Sep 2004 20:56:19 +0000 (20 20:56 +0000)
tree45441d11d2ad25ecb13ddd95df1bb93785b4dcbd
parent44828b9d2ae915f02491133a964d3ed2de6da175
[BZ #391]

2004-09-20  Roland McGrath  <roland@frob.com>
* elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN
in initializer #if defined.

2004-09-18  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #391]
* stdlib/getsubopt.c: Merge fixes from gnulib.
(__strchrnul) [!_LIBC]: Define and include "strchrnul.c".
(getsubopt): Use prototypes, not K&R style.
Fix bug: memcmp(A,B,N) was being invoked on a memory block B
whose size might be smaller than N.  Use strncmp to avoid the bug.
ChangeLog
stdlib/getsubopt.c