job.c (reap_children): Add debug message for when removal of a temporary
authorEli Zaretskii <eliz@gnu.org>
Fri, 7 Dec 2012 14:13:16 +0000 (14:13 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 7 Dec 2012 14:13:16 +0000 (14:13 +0000)
 batch file fails.

ChangeLog
job.c

index c4772496fc255a10039705150c89bedf8defb148..26e0bb4af90618651d929d96f115119b04de0682 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
        avoids leaving behind temporary batch files in the temporary
        directory, which happens frequently on a fast machine when using
        parallel builds.
+       (reap_children): Add debug message for when removal of a temporary
+       batch file fails.
 
 2012-10-29  Paul Smith  <psmith@gnu.org>
 
diff --git a/job.c b/job.c
index b11d1b4fd12f464f6ca1789302a8df454628f025..8e4c3a5521fae550565c33854a419aef5eb07f5b 100644 (file)
--- a/job.c
+++ b/job.c
@@ -816,7 +816,6 @@ reap_children (int block, int err)
         DB (DB_JOBS, (_("Cleaning up temp batch file %s\n"),
                       c->sh_batch_file));
 
-        /* just try and remove, don't care if this fails */
        errno = 0;
         rm_status = remove (c->sh_batch_file);
        if (rm_status)