This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc 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]

Community source repository for glibc add-on ports branch, master, updated. glibc-2.10.1-48-gc832a3a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Community source repository for glibc add-on ports".

The branch, master has been updated
       via  c832a3a9b7a864fd875079f8525a38f0fba05535 (commit)
      from  057c783bcab3331cddf1dde299b5ce4533d93e35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=c832a3a9b7a864fd875079f8525a38f0fba05535

commit c832a3a9b7a864fd875079f8525a38f0fba05535
Author: Carlos O'Donell <carlos@systemhalted.org>
Date:   Sun Nov 15 15:46:46 2009 -0500

    Update bits/fcntl.h for hppa.
    
    Define values for F_GETOWN_EX and F_SETOWN_EX.
    Define fallocate64@@GLIBC_2.11 and provide declarations
    in fcntl.h with appropriate aliases.
    
    2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
    
    	* sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
    	fallocate64@@GLIBC_2.11.
    	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
    	[__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
    	[!__USE_FILE_OFFSET64]: Define fallocate.
    	[__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
    	[__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
    	fallocate64.
    	[__USE_LARGEFILE64]: define fallocate64.

diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index 342bf5e..3d70812 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,5 +1,17 @@
 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/hppa/Versions (libc): Add 
+	fallocate64@@GLIBC_2.11.
+	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+	[__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
+	[!__USE_FILE_OFFSET64]: Define fallocate.
+	[__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
+	[__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
+	fallocate64.
+	[__USE_LARGEFILE64]: define fallocate64. 	
+
+2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
+
 	* sysdeps/hppa/dl-fptr.h: Update copyright year.
 	Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
 	Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
diff --git a/sysdeps/unix/sysv/linux/hppa/Versions b/sysdeps/unix/sysv/linux/hppa/Versions
index 234c0ba..3dbc9ac 100644
--- a/sysdeps/unix/sysv/linux/hppa/Versions
+++ b/sysdeps/unix/sysv/linux/hppa/Versions
@@ -20,6 +20,9 @@ libc {
     #errlist-compat	256
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
+  GLIBC_2.11 {
+    fallocate64;
+  }
 }
 librt {
   GLIBC_2.3 {
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
index ffc55a5..a0b0e07 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
@@ -89,6 +89,8 @@
 #ifdef __USE_GNU
 # define F_SETSIG	13	/* Set number of signal to be sent.  */
 # define F_GETSIG	14	/* Get number of signal to be sent.  */
+# define F_GETOWN_EX	15
+# define F_SETOWN_EX	16
 #endif
 
 #ifdef __USE_GNU
@@ -220,7 +222,24 @@ extern ssize_t splice (int __fdin, __off64_t *offin, int __fdout,
 /* In-kernel implementation of tee for pipe buffers.  */
 extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 		    unsigned int __flags);
-    
+
+/* Reserve storage for the data of the file associated with FD.  */
+# ifndef __USE_FILE_OFFSET64
+extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
+# else
+#  ifdef __REDIRECT
+extern int __REDIRECT (fallocate, (int __fd, int __mode, __off64_t __offset,
+				   __off64_t __len),
+		       fallocate64);
+#  else
+#   define fallocate fallocate64
+#  endif
+# endif
+# ifdef __USE_LARGEFILE64
+extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
+			__off64_t __len);
+# endif
+
 #endif
     
 __END_DECLS

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog.hppa                            |   12 ++++++++++++
 sysdeps/unix/sysv/linux/hppa/Versions     |    3 +++
 sysdeps/unix/sysv/linux/hppa/bits/fcntl.h |   21 ++++++++++++++++++++-
 3 files changed, 35 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Community source repository for glibc add-on ports


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