This commit is contained in:
Jakub Jelinek 2007-07-31 19:42:13 +00:00
parent 0f388ce868
commit d669fbfbe0
2 changed files with 18 additions and 0 deletions

16
glibc-fallocate.patch Normal file
View File

@ -0,0 +1,16 @@
2007-07-31 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
syscall arguments count.
--- libc/sysdeps/unix/sysv/linux/posix_fallocate.c.jj 2007-07-31 21:19:06.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/posix_fallocate.c 2007-07-31 21:19:06.000000000 +0200
@@ -39,7 +39,7 @@ posix_fallocate (int fd, __off_t offset,
# endif
{
INTERNAL_SYSCALL_DECL (err);
- int res = INTERNAL_SYSCALL (fallocate, err, 4, fd, 0,
+ int res = INTERNAL_SYSCALL (fallocate, err, 6, fd, 0,
__LONG_LONG_PAIR (offset >> 31, offset),
__LONG_LONG_PAIR (len >> 31, len));

View File

@ -40,6 +40,7 @@ Patch2: glibc-warning-patrol.patch
Patch3: glibc-i386-rwlock.patch Patch3: glibc-i386-rwlock.patch
Patch4: glibc-ldconfig-speedup.patch Patch4: glibc-ldconfig-speedup.patch
Patch5: glibc-private-futex.patch Patch5: glibc-private-futex.patch
Patch6: glibc-fallocate.patch
Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root Buildroot: %{_tmppath}/glibc-%{PACKAGE_VERSION}-root
Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers, Obsoletes: zoneinfo, libc-static, libc-devel, libc-profile, libc-headers,
Obsoletes: gencat, locale, ldconfig, locale-ja, glibc-profile Obsoletes: gencat, locale, ldconfig, locale-ja, glibc-profile
@ -255,6 +256,7 @@ package or when debugging this package.
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1
# Hack till glibc-kernheaders get updated, argh # Hack till glibc-kernheaders get updated, argh
mkdir -p override_headers/linux mkdir -p override_headers/linux