mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-28 18:16:36 +12:00
2003-06-04 Ben Elliston <bje@wasabisystems.com>
* config.guess (set_cc_for_build): Allow insecure temporary filenames to be generated on systems without mktemp(1) or $RANDOM, but issue a warning to standard error. Suggested by Hans-Peter Nilsson.
This commit is contained in:
parent
3a3ba493ff
commit
d8c3abeb62
@ -1,3 +1,10 @@
|
||||
2003-06-04 Ben Elliston <bje@wasabisystems.com>
|
||||
|
||||
* config.guess (set_cc_for_build): Allow insecure temporary
|
||||
filenames to be generated on systems without mktemp(1) or $RANDOM,
|
||||
but issue a warning to standard error. Suggested by Hans-Peter
|
||||
Nilsson.
|
||||
|
||||
2003-05-24 Ben Elliston <bje@wasabisystems.com>
|
||||
|
||||
* config.sub: Handle $os values of -nx6 and -nx7.
|
||||
|
3
config.guess
vendored
3
config.guess
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2003-05-22'
|
||||
timestamp='2003-06-04'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@ -106,6 +106,7 @@ trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
||||
: ${TMPDIR=/tmp} ;
|
||||
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
||||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
||||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
||||
dummy=$tmp/dummy ;
|
||||
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user