mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-02-07 13:03:08 +00:00
job.c (reap_children): Add debug message for when removal of a temporary
batch file fails.
This commit is contained in:
parent
715927552f
commit
0d5d963bcf
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
||||||
avoids leaving behind temporary batch files in the temporary
|
avoids leaving behind temporary batch files in the temporary
|
||||||
directory, which happens frequently on a fast machine when using
|
directory, which happens frequently on a fast machine when using
|
||||||
parallel builds.
|
parallel builds.
|
||||||
|
(reap_children): Add debug message for when removal of a temporary
|
||||||
|
batch file fails.
|
||||||
|
|
||||||
2012-10-29 Paul Smith <psmith@gnu.org>
|
2012-10-29 Paul Smith <psmith@gnu.org>
|
||||||
|
|
||||||
|
|
1
job.c
1
job.c
|
@ -816,7 +816,6 @@ reap_children (int block, int err)
|
||||||
DB (DB_JOBS, (_("Cleaning up temp batch file %s\n"),
|
DB (DB_JOBS, (_("Cleaning up temp batch file %s\n"),
|
||||||
c->sh_batch_file));
|
c->sh_batch_file));
|
||||||
|
|
||||||
/* just try and remove, don't care if this fails */
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
rm_status = remove (c->sh_batch_file);
|
rm_status = remove (c->sh_batch_file);
|
||||||
if (rm_status)
|
if (rm_status)
|
||||||
|
|
Loading…
Reference in a new issue