aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-03-15 13:14:54 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-03-15 13:33:40 +0100
commit2bda2d820dcd9ea382b7380c18d469c23232fbbf (patch)
treeeaf2b1a5e503f53160a17519471d9d0e72a6e7e8 /support
parented3ea040bae8ef2cf131081124a1248a9fd3dca9 (diff)
downloadglibc-2bda2d820dcd9ea382b7380c18d469c23232fbbf.tar
glibc-2bda2d820dcd9ea382b7380c18d469c23232fbbf.tar.gz
glibc-2bda2d820dcd9ea382b7380c18d469c23232fbbf.tar.bz2
glibc-2bda2d820dcd9ea382b7380c18d469c23232fbbf.zip
support: Explain ignored failures of temporary file removal [BZ #21243]
Diffstat (limited to 'support')
-rw-r--r--support/temp_file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/support/temp_file.c b/support/temp_file.c
index f06647a467..5950aec06b 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