-
Notifications
You must be signed in to change notification settings - Fork 581
[OPTIONAL PATCH] Re: Configure using /tmp #1549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @doughera88On Wed, 15 Mar 2000, M.J.T. Guy wrote:
This patch elimates Configure's use of /tmp in determining whether the OS Although such arrangements used to be reasonably common, they probably Incidentally, this does not eliminate all use of /tmp from Configure. So don't run Configure/make as root. -- Inline Patch--- Configure.RC1 Wed Mar 15 10:59:25 2000
+++ Configure Wed Mar 15 11:19:07 2000
@@ -6616,36 +6616,15 @@
: see if we can have long filenames
echo " "
-rmlist="$rmlist /tmp/cf$$"
-$test -d /tmp/cf$$ || mkdir /tmp/cf$$
first=123456789abcdef
-second=/tmp/cf$$/$first
-$rm -f $first $second
+$rm -f $first
if (echo hi >$first) 2>/dev/null; then
if $test -f 123456789abcde; then
echo 'You cannot have filenames longer than 14 characters. Sigh.' >&4
val="$undef"
else
- if (echo hi >$second) 2>/dev/null; then
- if $test -f /tmp/cf$$/123456789abcde; then
- $cat <<'EOM'
-That's peculiar... You can have filenames longer than 14 characters, but only
-on some of the filesystems. Maybe you are using NFS. Anyway, to avoid problems
-I shall consider your system cannot support long filenames at all.
-EOM
- val="$undef"
- else
- echo 'You can have filenames longer than 14 characters.' >&4
- val="$define"
- fi
- else
- $cat <<'EOM'
-How confusing! Some of your filesystems are sane enough to allow filenames
-longer than 14 characters but some others like /tmp can't even think about them.
-So, for now on, I shall assume your kernel does not allow them at all.
-EOM
- val="$undef"
- fi
+ echo 'You can have filenames longer than 14 characters.' >&4
+ val="$define"
fi
else
$cat <<'EOM'
@@ -6655,7 +6634,7 @@
fi
set d_flexfnam
eval $setvar
-$rm -rf /tmp/cf$$ 123456789abcde*
+$rm -rf 123456789abcde*
: determine where library module manual pages go
set man3dir man3dir none |
Migrated from rt.perl.org#2766 (status was 'resolved')
Searchable as RT2766$
The text was updated successfully, but these errors were encountered: