mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
2000-03-31 Andreas Schwab <schwab@suse.de> * string/strfry.c: Declare STATE as array of char instead of int and do not initialize it (done by initstate_r). Pass correct size. * sysdeps/generic/ldsodefs.h: Fix typo in comment.
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
|
2000-03-31 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* string/strfry.c: Declare STATE as array of char instead of int
|
||||||
|
and do not initialize it (done by initstate_r). Pass correct
|
||||||
|
size.
|
||||||
|
|
||||||
2000-04-03 Ulrich Drepper <drepper@redhat.com>
|
2000-04-03 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/generic/ldsodefs.h: Fix typo in comment.
|
||||||
|
|
||||||
* sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
|
* sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
|
||||||
instruction out of the code.
|
instruction out of the code.
|
||||||
|
|
||||||
|
@@ -29,9 +29,9 @@ strfry (char *string)
|
|||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
static int state[8] = { 1, 2, 3, 4, 5, 6, 7, 8 };
|
static char state[32];
|
||||||
rdata.state = NULL;
|
rdata.state = NULL;
|
||||||
__initstate_r (time ((time_t *) NULL), state, 8, &rdata);
|
__initstate_r (time ((time_t *) NULL), state, sizeof (state), &rdata);
|
||||||
init = 1;
|
init = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -39,7 +39,7 @@ __BEGIN_DECLS
|
|||||||
/* All references to the value of l_info[DT_PLTGOT],
|
/* All references to the value of l_info[DT_PLTGOT],
|
||||||
l_info[DT_STRTAB], l_info[DT_SYMTAB], l_info[DT_RELA],
|
l_info[DT_STRTAB], l_info[DT_SYMTAB], l_info[DT_RELA],
|
||||||
l_info[DT_REL], l_info[DT_JMPREL], and l_info[VERSYMIDX (DT_VERSYM)]
|
l_info[DT_REL], l_info[DT_JMPREL], and l_info[VERSYMIDX (DT_VERSYM)]
|
||||||
have to accessed via the D_PTR macro. The macro is needed since for
|
have to be accessed via the D_PTR macro. The macro is needed since for
|
||||||
most architectures the entry is already relocated - but for some not
|
most architectures the entry is already relocated - but for some not
|
||||||
and we need to relocate at access time. */
|
and we need to relocate at access time. */
|
||||||
#ifdef DL_RO_DYN_SECTION
|
#ifdef DL_RO_DYN_SECTION
|
||||||
|
Reference in New Issue
Block a user