mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
Update.
2000-02-16 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return value. 2000-02-16 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix typo.
This commit is contained in:
parent
1dc235884e
commit
109014ca82
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2000-02-16 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix return
|
||||
value.
|
||||
|
||||
2000-02-16 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c (ftruncate64): Fix
|
||||
typo.
|
||||
|
||||
2000-02-15 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/i386/fpu/libm-test-ulps: Add one value for AMD K7.
|
||||
|
@ -47,7 +47,7 @@ ftruncate64 (fd, length)
|
||||
#ifndef __ASSUME_TRUNCATE64_SYSCALL
|
||||
int saved_errno = errno;
|
||||
#endif
|
||||
int result = __syscall_ftruncate64 (fd, off64_length);
|
||||
int result = __syscall_ftruncate64 (fd, length);
|
||||
|
||||
#ifndef __ASSUME_TRUNCATE64_SYSCALL
|
||||
if (result != -1 || errno != ENOSYS)
|
||||
|
@ -50,11 +50,11 @@ __mmap64 (__ptr_t addr, size_t len, int prot, int flags, int fd, off64_t offset)
|
||||
int saved_errno = errno;
|
||||
#endif
|
||||
/* This will be always 12, no matter what page size is. */
|
||||
int result = INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags,
|
||||
__ptr_t result = INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags,
|
||||
fd, (off_t) (offset >> PAGE_SHIFT));
|
||||
|
||||
#ifndef __ASSUME_MMAP2_SYSCALL
|
||||
if (result != -1 || errno != ENOSYS)
|
||||
if (result != (__ptr_t) -1 || errno != ENOSYS)
|
||||
#endif
|
||||
return result;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user