Anyone wonders why TT2 creates a '/tmp/ttc.' directory or similar
depending on the name of your COMPILE_DIR ?

It comes from Provider.pm and Leon points out on irc that it has
already been fixed in CVS :

> 18:34 <@acme> fixed in CVS already, i don't think it made it into a 
>       release yet
> 18:35 < pop> cool, I should have a look to CVS, sorry
> 18:36 <@acme> post to the template list and nudge andy to get a 
>       new release out anyway ;-)

job done Leon ;) !

--- /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Provider.pm Thu Jun  6 
18:29:09 2002
+++ /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Provider.pm.patched Thu 
+Jun  6 18:28:42 2002
@@ -308,7 +308,7 @@
            my $wdir = $dir;
                $wdir =~ s[:][]g if $^O eq 'MSWin32';
            $wdir =~ /(.*)/;  # untaint
-           &File::Path::mkpath($cdir . $1);
+                   &File::Path::mkpath(File::Spec->catfile($cdir, $1));
        }
        # ensure $cdir is terminated with '/' for subsequent path building
        $cdir .= '/';


-- 
Yann Kerherv�           http://apr-job.com             APR-JOB 
[EMAIL PROTECTED]        TEL: +33 (1) 4652 6810        9, rue de Lens
PGP: 1C32A1B7                                       92000 Nanterre


Reply via email to