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.25-113-g2bda2d8


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  2bda2d820dcd9ea382b7380c18d469c23232fbbf (commit)
      from  ed3ea040bae8ef2cf131081124a1248a9fd3dca9 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2bda2d820dcd9ea382b7380c18d469c23232fbbf

commit 2bda2d820dcd9ea382b7380c18d469c23232fbbf
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Mar 15 13:14:54 2017 +0100

    support: Explain ignored failures of temporary file removal [BZ #21243]

diff --git a/ChangeLog b/ChangeLog
index c9a9a89..2d489f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-03-15  Florian Weimer  <fweimer@redhat.com>
 
+	[BZ #21243]
+	* support/temp_file.c (support_delete_temp_files): Add comment
+	about ignored errors.
+
+2017-03-15  Florian Weimer  <fweimer@redhat.com>
+
 	[BZ #21244]
 	* support/xclose.c: New file.
 	* support/Makefile (libsupport-routines): Add xclose.
diff --git a/support/temp_file.c b/support/temp_file.c
index f06647a..5950aec 100644
--- a/support/temp_file.c
+++ b/support/temp_file.c
@@ -99,7 +99,10 @@ support_delete_temp_files (void)
 {
   while (temp_name_list != NULL)
     {
-      remove (temp_name_list->name);
+      /* For some tests, the temporary file removal runs multiple
+	 times (in the parent processes and the subprocess), so do not
+	 report a failed removal attempt.  */
+      (void) remove (temp_name_list->name);
       free (temp_name_list->name);
 
       struct temp_name_list *next

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

Summary of changes:
 ChangeLog           |    6 ++++++
 support/temp_file.c |    5 ++++-
 2 files changed, 10 insertions(+), 1 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]