* acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure

that the directory was created: under Ultrix 4.3 it just returns
a name, but does not create the directory.
Reported by Christian Krackowizer.
This commit is contained in:
Akim Demaille 2000-07-05 16:01:57 +00:00
parent 9f1999bf1e
commit c50f5b336c
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2000-07-05 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure
that the directory was created: under Ultrix 4.3 it just returns
a name, but does not create the directory.
Reported by Christian Krackowizer.
2000-07-03 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (AC_SHELL_MKDIR_P): New macro.

1
THANKS
View File

@ -20,6 +20,7 @@ Carl Edman cedman@princeton.edu
Chad R. Larson chad@anasazi.com
Chris P. Ross cross@uu.net
Chris Provenzano proven@cygnus.com
Christian Krackowizer ckrackowiz@std.schuler-ag.com
Christian Krone krischan@sql.de
Chris Torek torek@bsdi.com
Cort Dougan cort@cs.nmt.edu

View File

@ -736,7 +736,7 @@ $debug ||
: ${TMPDIR=/tmp}
{
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/$1XXXXXX") 2>/dev/null` &&
test -n "$tmp"
test -n "$tmp" && tmp -d "$tmp"
} ||
{
tmp=$TMPDIR/$1$$-$RANDOM && (umask 077 && mkdir $tmp)

View File

@ -736,7 +736,7 @@ $debug ||
: ${TMPDIR=/tmp}
{
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/$1XXXXXX") 2>/dev/null` &&
test -n "$tmp"
test -n "$tmp" && tmp -d "$tmp"
} ||
{
tmp=$TMPDIR/$1$$-$RANDOM && (umask 077 && mkdir $tmp)