r2872 - glibc-package/trunk/debian/patches/mips
Author: aurel32
Date: 2008-03-15 13:45:17 +0000 (Sat, 15 Mar 2008)
New Revision: 2872
Modified:
glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff
Log:
Update mips/submitted-mipsn32.diff
Modified: glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff
===================================================================
--- glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff 2008-03-13 20:43:31 UTC (rev 2871)
+++ glibc-package/trunk/debian/patches/mips/submitted-mipsn32.diff 2008-03-15 13:45:17 UTC (rev 2872)
@@ -1,3 +1,8 @@
+2008-03-15 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Drop ftruncate
+ declaration.
+
2008-01-24 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Drop truncate
@@ -4,14 +9,30 @@
declaration.
(truncate64): Fix arguments and call to truncate.
-Index: sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c
+Index: ftruncate64.c
===================================================================
+RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c,v
+retrieving revision 1.1
+diff -u -d -p -r1.1 ftruncate64.c
+--- ftruncate64.c 5 Apr 2003 19:57:35 -0000 1.1
++++ ftruncate64.c 15 Mar 2008 13:43:41 -0000
+@@ -20,8 +20,6 @@
+
+ #include <sysdep.h>
+
+-extern int ftruncate (int fd, off64_t length);
+-
+ int __ftruncate64 (int fd, off64_t length) {
+ return ftruncate (fd, length);
+ }
+Index: truncate64.c
+===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c,v
retrieving revision 1.1
diff -u -d -p -r1.1 truncate64.c
---- ports/sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c 5 Apr 2003 19:57:35 -0000 1.1
-+++ ports/sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c 24 Jan 2008 01:21:34 -0000
-@@ -21,10 +21,6 @@
+--- truncate64.c 5 Apr 2003 19:57:35 -0000 1.1
++++ truncate64.c 15 Mar 2008 13:43:41 -0000
+@@ -21,10 +21,7 @@
#include <sysdep.h>
#include <bp-checks.h>
@@ -21,6 +42,7 @@
-int truncate64 (const char *__unbounded path, int dummy,
- off64_t length) {
- return truncate (path, dummy, length);
-+int truncate64 (const char *file, off64_t length) {
++int __truncate64 (const char *file, off64_t length) {
+ return truncate (file, length);
}
++weak_alias (__truncate64, truncate64)
Reply to: