diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-02 22:37:58 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-02 22:37:58 +0000 |
commit | f903b5155c9c847d43eb3acefac367bf3927f0d8 (patch) | |
tree | 1099111e01e802d2de03ec0fd7df7f12afa6fc72 | |
parent | ceb927c97124c8b4db5a0b400ab7032c21cddb32 (diff) | |
download | glibc-f903b5155c9c847d43eb3acefac367bf3927f0d8.zip glibc-f903b5155c9c847d43eb3acefac367bf3927f0d8.tar.gz glibc-f903b5155c9c847d43eb3acefac367bf3927f0d8.tar.bz2 |
Update.
* sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
comparing ftab elements.
(_dl_unmap): Fix typo in test.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/generic/dl-fptr.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ 2003-05-02 Ulrich Drepper <drepper@redhat.com> - * sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test. + * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for + comparing ftab elements. + (_dl_unmap): Fix typo in test. (_dl_make_fptr): Fix typos introduced in last change. * sysdeps/generic/dl-fptr.c: Put back one optimization from the diff --git a/sysdeps/generic/dl-fptr.c b/sysdeps/generic/dl-fptr.c index f3542bc..9768850 100644 --- a/sysdeps/generic/dl-fptr.c +++ b/sysdeps/generic/dl-fptr.c @@ -220,7 +220,7 @@ _dl_make_fptr (struct link_map *map, const ElfW(Sym) *sym, INTUSE(_dl_signal_error) (0, NULL, NULL, N_("\ internal error: symidx out of range of fptr table")); - while (ftab[symidx] == NULL) + while (ftab[symidx] == 0) { /* GOT has already been relocated in elf_get_dynamic_info - don't try to relocate it again. */ |