diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | locale/programs/ld-paper.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/syscalls.list | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index ec981dfa35..71daa93479 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-02-13 H.J. Lu <hjl@gnu.org> + + * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64. + 2001-02-13 Ulrich Drepper <drepper@redhat.com> * locale/programs/ld-paper.c (paper_output): Pretty printing. diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c index a3b54fd7d9..d0ca850863 100644 --- a/locale/programs/ld-paper.c +++ b/locale/programs/ld-paper.c @@ -138,7 +138,7 @@ paper_output (struct localedef_t *locale, struct charmap_t *charmap, iov[cnt].iov_len = 4; ++cnt; - idx[cnt - 2] = idx[cnt - 2] + iov[cnt - 1].iov_len; + idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len; iov[cnt].iov_base = &paper->width; iov[cnt].iov_len = 4; ++cnt; diff --git a/sysdeps/unix/sysv/linux/ia64/syscalls.list b/sysdeps/unix/sysv/linux/ia64/syscalls.list index a68c2e8a22..44b3ab7f00 100644 --- a/sysdeps/unix/sysv/linux/ia64/syscalls.list +++ b/sysdeps/unix/sysv/linux/ia64/syscalls.list @@ -11,7 +11,7 @@ statfs - statfs i:sp __statfs statfs statfs64 mmap - mmap b:aniiii __mmap mmap __mmap64 mmap64 getpeername - getpeername i:ipp __getpeername getpeername getpriority - getpriority i:ii __getpriority getpriority -ftruncate - ftruncate 2 __ftruncate ftruncate ftruncate64 +ftruncate - ftruncate 2 __ftruncate ftruncate ftruncate64 __ftruncate64 truncate - truncate 2 truncate truncate64 getrlimit - getrlimit 2 __getrlimit getrlimit getrlimit64 setrlimit - setrlimit 2 __setrlimit setrlimit setrlimit64 |