summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-31 00:53:31 +0000
committerKarl Berry <karl@freefriends.org>2007-05-31 00:53:31 +0000
commit4c9dad70b8b217133abb17746a96d35ac8d2a664 (patch)
tree6237aead45f582998ef54ae4964e3163fe049a2d /Build/source
parent821fbb24bdf070d591119a05762a5eea0a713d8f (diff)
remove head.tmp and body.tmp unless debugging
git-svn-id: svn://tug.org/texlive/trunk@4380 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipsk/ChangeLog6
-rw-r--r--Build/source/texk/dvipsk/hps.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog
index e8611f70df3..98c5abba49d 100644
--- a/Build/source/texk/dvipsk/ChangeLog
+++ b/Build/source/texk/dvipsk/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-31 Karl Berry <karl@tug.org>
+
+ * hps.c (finish_hps): remove head.tmp and body.tmp unless
+ we are debugging. Report from Dan Luecking, 25 May 2007 13:00:17,
+ fix from Akira.
+
2007-05-09 Karl Berry <karl@tug.org>
* dvips.c, finclude.c: cleanups of my patching from Akira.
diff --git a/Build/source/texk/dvipsk/hps.c b/Build/source/texk/dvipsk/hps.c
index 2468e467319..89a9aed96f5 100644
--- a/Build/source/texk/dvipsk/hps.c
+++ b/Build/source/texk/dvipsk/hps.c
@@ -477,6 +477,9 @@ void stamp_external P2C(char *, s, Hps_link *, pl)
}
void finish_hps P1H(void) {
+ extern int dvips_debug_flag;
+ extern int debug_flag;
+
fclose(bitfile) ;
set_bitfile("head.tmp",1);
do_targets() ;
@@ -489,6 +492,10 @@ void finish_hps P1H(void) {
removecomments = 0;
copyfile("head.tmp") ;
copyfile("body.tmp") ;
+ if (dvips_debug_flag == 0 && debug_flag == 0) {
+ unlink("head.tmp");
+ unlink("body.tmp");
+ }
}
void set_bitfile P2C(char *, s, int, mode)