summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-12-07 14:13:16 +0000
committerEli Zaretskii <eliz@gnu.org>2012-12-07 14:13:16 +0000
commit0d5d963bcfd5fb625bff4ef2d08d1878cbf7f66d (patch)
tree2d6040a58f3fd952f224154ad4e00f44abe90e00
parent715927552ff90f6e77598ca2c216d49527368323 (diff)
downloadgunmake-0d5d963bcfd5fb625bff4ef2d08d1878cbf7f66d.tar.gz
job.c (reap_children): Add debug message for when removal of a temporary
batch file fails.
-rw-r--r--ChangeLog2
-rw-r--r--job.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c477249..26e0bb4 100644
--- 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 b11d1b4..8e4c3a5 100644
--- 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)