This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Update splice prototypes for ARM and MIPS


The splice prototypes in ports need updating to correspond with those
used for non-ports architectures.

This patch updates ARM and MIPS.  Other targets also need either the
prototype updated (hppa) or the whole splice etc. section of the file
added (am33, cris, m68k).

2006-10-19  Joseph S. Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (splice): Update
	prototype.
	* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
	prototype.

Index: sysdeps/unix/sysv/linux/arm/bits/fcntl.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h,v
retrieving revision 1.11
diff -u -r1.11 fcntl.h
--- sysdeps/unix/sysv/linux/arm/bits/fcntl.h	8 Jun 2006 17:16:08 -0000	1.11
+++ sysdeps/unix/sysv/linux/arm/bits/fcntl.h	19 Oct 2006 20:23:37 -0000
@@ -223,7 +223,8 @@
 		     unsigned int __flags);
 
 /* Splice two files together.  */
-extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
+extern int splice (int __fdin, __off64_t *__offin, int __fdout,
+		   __off64_t *__offout, size_t __len, unsigned int __flags)
     __THROW;
 
 /* In-kernel implementation of tee for pipe buffers.  */
Index: sysdeps/unix/sysv/linux/mips/bits/fcntl.h
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h,v
retrieving revision 1.24
diff -u -r1.24 fcntl.h
--- sysdeps/unix/sysv/linux/mips/bits/fcntl.h	8 Jun 2006 17:16:29 -0000	1.24
+++ sysdeps/unix/sysv/linux/mips/bits/fcntl.h	19 Oct 2006 20:23:37 -0000
@@ -237,7 +237,8 @@
 		     unsigned int __flags);
 
 /* Splice two files together.  */
-extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
+extern int splice (int __fdin, __off64_t *__offin, int __fdout,
+		   __off64_t *__offout, size_t __len, unsigned int __flags)
     __THROW;
 
 /* In-kernel implementation of tee for pipe buffers.  */

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]