aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-24 17:43:22 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-24 17:43:22 +0000
commitd47aac39992cb1dd705d8c584f4d3979d7ce4602 (patch)
tree00f122d0949ace189446bb9e8f4939ce170dcfde /elf/dl-load.c
parente951d34052a3e76fa3045de7b9368e65115b1345 (diff)
downloadglibc-d47aac39992cb1dd705d8c584f4d3979d7ce4602.tar
glibc-d47aac39992cb1dd705d8c584f4d3979d7ce4602.tar.gz
glibc-d47aac39992cb1dd705d8c584f4d3979d7ce4602.tar.bz2
glibc-d47aac39992cb1dd705d8c584f4d3979d7ce4602.zip
Update.
1998-06-24 Ulrich Drepper <drepper@cygnus.com> * manager.c (pthread_free): Undo patch from 980430. Reported by David Wragg <dpw@doc.ic.ac.uk>.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index e67ade2d59..ad981bc238 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -563,7 +563,7 @@ _dl_map_object_from_fd (char *name, int fd, char *realname,
/* Read the header directly. */
readbuf = alloca (_dl_pagesize);
readlength = __libc_read (fd, readbuf, _dl_pagesize);
- if (readlength < sizeof(*header))
+ if (readlength < (ssize_t) sizeof(*header))
lose (errno, "cannot read file data");
header = (void *) readbuf;