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]

GNU C Library master sources branch, master, updated. glibc-2.14-523-g82af0fa


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  82af0fa8de8201803ac670fa0de7d702ce9f0f18 (commit)
      from  e188ebba21d9a2982289d703a406b722519513bb (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=82af0fa8de8201803ac670fa0de7d702ce9f0f18

commit 82af0fa8de8201803ac670fa0de7d702ce9f0f18
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Mon Nov 14 18:46:46 2011 -0500

    Use O_CLOEXEC in tzfile handling

diff --git a/ChangeLog b/ChangeLog
index cbbf592..054fbc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-14  Ulrich Drepper  <drepper@gmail.com>
+
+	* time/tzfile.c (__tzfile_read): Use "e" in fopen call.
+
 2011-11-14  Andreas Schwab  <schwab@redhat.com>
 
 	* malloc/arena.c (arena_get2): Don't call reused_arena when
diff --git a/time/tzfile.c b/time/tzfile.c
index f4cba46..144e20b 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1993,1995-2001,2003,2004,2006,2007,2009
+/* Copyright (C) 1991-1993,1995-2001,2003,2004,2006,2007,2009,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -178,8 +178,8 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
     }
 
   /* Note the file is opened with cancellation in the I/O functions
-     disabled.  */
-  f = fopen (file, "rc");
+     disabled and if available FD_CLOEXEC set.  */
+  f = fopen (file, "rce");
   if (f == NULL)
     goto ret_free_transitions;
 

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

Summary of changes:
 ChangeLog     |    4 ++++
 time/tzfile.c |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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