On Thu, 2013-09-12 at 21:57 -0400, Peter Eisentraut wrote:
> Calling
> 
> dtrace -C -h -s probes.d -o probes.h
> 
> generates a file like /tmp/tmpzXuKas.d every time that is never
> cleaned up.

This happened when using -h and -C together. Only when generating a
source file would the temporary cpp file be removed, not when generating
a header file.

Fixed upstream by:

commit 114bb022c46991e9595cbddbb1ea5b11a2ad5788
Author: Mark Wielaard <m...@redhat.com>
Date:   Fri Sep 13 12:22:05 2013 +0200

    Remove temporary cpp file also when generating header file. Debian #722649

diff --git a/dtrace.in b/dtrace.in
index f0815b0..20c5a95 100755
--- a/dtrace.in
+++ b/dtrace.in
@@ -275,11 +275,13 @@ def main():
             os.remove(fn)
         else:
             print "source: " + fn
-        if (use_cpp):
-            if (not keep_temps):
-                os.remove(s_filename)
-            else:
-                print "cpp: " + s_filename
+
+    if (use_cpp):
+        if (not keep_temps):
+            os.remove(s_filename)
+        else:
+            print "cpp: " + s_filename
+
     return 0
 
 if __name__ == "__main__":


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to