diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-11-17 18:04:51 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-17 18:04:51 -0800 |
commit | 8ad81b316bc158746aee18aa7d7df44d3eb61871 (patch) | |
tree | 82a21f0dc57b70505e8b3f36005d29585ce30547 /ChangeLog | |
parent | f8c10bb45b7639ec7b6bb500a9e69b1e29d5e6f6 (diff) | |
download | glibc-8ad81b316bc158746aee18aa7d7df44d3eb61871.tar glibc-8ad81b316bc158746aee18aa7d7df44d3eb61871.tar.gz glibc-8ad81b316bc158746aee18aa7d7df44d3eb61871.tar.bz2 glibc-8ad81b316bc158746aee18aa7d7df44d3eb61871.zip |
Fix sync_file_range on ppc/ppc64.
I've noticed that sync_file_range is a stub on ppc/ppc64.
The kernel on these arches provides sync_file_range2 syscall with swapped
parameters.
The following completely untested patch ought to fix this.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2009-11-16 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): + Implement using sync_file_range2 syscall if __NR_sync_file_range2 + is defined. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New + file. + 2009-11-17 Paolo Bonzini <bonzini@gnu.org> * posix/bug-regex30.c: New file. |