]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - support/temp_file.c
Assume that accept4 is always available and works
[thirdparty/glibc.git] / support / temp_file.c
index f06647a467fbf39809a25acb28c78a61d02c29be..5950aec06b628080dd7373775db0b3cd9707448e 100644 (file)
@@ -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