Hello.

$ENV{'TMPDIR'} may contain backward slashes in it under DJGPP. Below is a
ChangeLog and patch to make autom4te cope with this.

(I'm subscribed to the autoconf mailing list now.)

Thanks, regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

2003-01-11  Richard Dawe  <[EMAIL PROTECTED]>

        *  lib/Autom4te/General.pm: $ENV{'TMPDIR'} may have backward slashes
        in it under DJGPP.

--- /dev/c/develop/ports/orig/autoconf-2.57/lib/Autom4te/General.pm 2002-10-16
06:38:50.000000000 +0000
+++ /dev/c/develop/ports/gnu.dev/autoconf-2.57/lib/Autom4te/General.pm
2003-01-05 13:06:56.000000000 +0000
@@ -324,6 +324,10 @@ sub mktmpdir ($)
   my ($signature) = @_;
   my $TMPDIR = $ENV{'TMPDIR'} || '/tmp';
 
+  # <[EMAIL PROTECTED]>: Forward-slashify TMPDIR.
+  # TMPDIR may have backward slashes in it under DJGPP.
+  $TMPDIR =~ s,\\,/,g;
+
   # If mktemp supports dirs, use it.
   $tmp = `(umask 077 &&
            mktemp -d -q "$TMPDIR/${signature}XXXXXX") 2>/dev/null`;


Reply via email to