Hi,

Nicos patch of ipp.src is not complete. It doesn't delete the created
tempdir. The attached one corrects two minor things as well (adapted
from the sarge package). I haven't looked at the changes in eperl_sys.c
but I think there exists a similar problem.

regards,

Jochen

-- 
diesen tag / begehen / wie einen grund / oder wie ein fest
ohne grund zu einem fest / ohne festen grund
     -- Ernst Jandl
--- ipp.src.org	2008-02-21 20:14:54.000000000 +0100
+++ ipp.src	2008-02-21 20:15:50.000000000 +0100
@@ -565,7 +565,6 @@
 #
 #   process the pre-loaded include files
 #
-$tmpdir = $ENV{'TMPDIR'} || '/tmp';
 my $tmpldir = ($ENV{'TMPDIR'} || '/tmp') . '/ipp.XXXXXX';
 $tmpdir = mkdtemp($tmpldir) or die "Unable to create temporary directory: $!\n";
 $tmpfile = $tmpdir . "/ipp.$$.tmp";
@@ -633,11 +632,12 @@
     #   cleanup
     unlink($tmpfile);
 }
+rmdir($tmpdir);
 
 if ($opt_M ne '-' && $opt_o ne '-') {
     #   Write dependencies
     if ($opt_M =~ m|D|) {
-        if ($opt_o =~ m|(.*?)\.|) {
+        if ($opt_o =~ m|(.*)\.|) {
             $depfile = $1 . '.d';
         }
         else {

Reply via email to