Author: aurel32 Date: 2007-07-29 14:53:26 +0000 (Sun, 29 Jul 2007) New Revision: 2478
Added: glibc-package/trunk/debian/patches/hppa/submitted-fadvise64_64.diff Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/series Log: * any/submitted-fadvise64_64.diff: patch from Carlos O'Donell to add support for fadvise64_64 syscall. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2007-07-29 14:48:10 UTC (rev 2477) +++ glibc-package/trunk/debian/changelog 2007-07-29 14:53:26 UTC (rev 2478) @@ -24,10 +24,12 @@ * kfreebsd/local-sysdeps.diff: update to revision 1989 (from glibc-bsd). * any/submitted-longdouble.diff: patch from Carlos O'Donell to fix long double tests. - * any/submitted-libgcc_s.so.diff: patch from Carlos O'Donell to allow + * any/submitted-libgcc_s.so.diff: patch from Carlos O'Donell to allow differents libgcc_s.so SONAME on architecture basis. + * any/submitted-fadvise64_64.diff: patch from Carlos O'Donell to add + support for fadvise64_64 syscall. - -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 29 Jul 2007 16:46:44 +0200 + -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 29 Jul 2007 16:52:44 +0200 glibc (2.6-4) unstable; urgency=low Added: glibc-package/trunk/debian/patches/hppa/submitted-fadvise64_64.diff =================================================================== --- glibc-package/trunk/debian/patches/hppa/submitted-fadvise64_64.diff (rev 0) +++ glibc-package/trunk/debian/patches/hppa/submitted-fadvise64_64.diff 2007-07-29 14:53:26 UTC (rev 2478) @@ -0,0 +1,27 @@ +Index: sysdeps/unix/sysv/linux/posix_fadvise.c +=================================================================== +RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/posix_fadvise.c,v +retrieving revision 1.3 +diff -u -p -r1.3 posix_fadvise.c +--- sysdeps/unix/sysv/linux/posix_fadvise.c 17 Aug 2003 00:36:22 -0000 1.3 ++++ sysdeps/unix/sysv/linux/posix_fadvise.c 28 Jul 2007 21:19:14 -0000 +@@ -35,6 +35,19 @@ posix_fadvise (int fd, off_t offset, off + return INTERNAL_SYSCALL_ERRNO (ret, err); + return 0; + #else ++# ifdef __NR_fadvise64_64 ++ INTERNAL_SYSCALL_DECL (err); ++ int ret = INTERNAL_SYSCALL (fadvise64_64, err, 6, fd, ++ __LONG_LONG_PAIR ((long) (offset >> 31), ++ (long) offset), ++ __LONG_LONG_PAIR ((long) (len >> 31), ++ (long) len), ++ advise); ++ if (INTERNAL_SYSCALL_ERROR_P (ret, err)) ++ return INTERNAL_SYSCALL_ERRNO (ret, err); ++ return 0; ++# else + return ENOSYS; ++# endif + #endif + } Modified: glibc-package/trunk/debian/patches/series =================================================================== --- glibc-package/trunk/debian/patches/series 2007-07-29 14:48:10 UTC (rev 2477) +++ glibc-package/trunk/debian/patches/series 2007-07-29 14:53:26 UTC (rev 2478) @@ -149,6 +149,7 @@ any/submitted-getcwd-sys_param_h.diff -p0 any/submitted-clock-settime.diff -p0 any/submitted-date-and-unknown-tz.diff -p0 +any/submitted-fadvise64_64.diff -p0 any/submitted-libgcc_s.so.diff -p0 any/submitted-longdouble.diff -p0 any/submitted-strfry.diff -p0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]