This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.12-158-gdda5132
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Sep 2010 18:02:56 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.12-158-gdda5132
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 "GNU C Library master sources".
The branch, master has been updated
via dda51327baa01c8e5c188a9952317396bb5569b1 (commit)
from c3758feebf7c8786231465da664743c6f0ec79cc (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.git;a=commitdiff;h=dda51327baa01c8e5c188a9952317396bb5569b1
commit dda51327baa01c8e5c188a9952317396bb5569b1
Author: Ulrich Drepper <drepper@redhat.com>
Date: Tue Sep 21 11:01:10 2010 -0700
Undo feature selection for ftruncate.
diff --git a/ChangeLog b/ChangeLog
index 7a5c96d..34af34d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-21 Ulrich Drepper <drepper@redhat.com>
+
+ [BZ #12037]
+ * posix/unistd.h: Undo change of feature selection for ftruncate from
+ 2010-01-11.
+
2010-09-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
diff --git a/posix/unistd.h b/posix/unistd.h
index f8b84e3..5ebcaf1 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1020,6 +1020,9 @@ extern int truncate64 (__const char *__file, __off64_t __length)
__THROW __nonnull ((1)) __wur;
# endif
+#endif /* Use BSD || X/Open Unix || POSIX 2008. */
+
+#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
/* Truncate the file FD is open on to LENGTH bytes. */
# ifndef __USE_FILE_OFFSET64
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
posix/unistd.h | 3 +++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources