[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw: Patch for Groff-1.19
From: |
Paul Eggert |
Subject: |
Re: Fw: Patch for Groff-1.19 |
Date: |
06 Jul 2003 13:36:36 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Werner LEMBERG <address@hidden> writes:
> I'm forwarding this groff bug report to you since it is a problem with
> autoconf (in macro AS_TMPDIR) -- groff just uses plain autoconf macros
> for this test.
I don't see why the patch helps. I've quoted it below. Since the
'umask 077' is inside a subprocess, it cannot affect the umask of the
'configure' shell script itself, so the change should not be needed.
--- configure Tue Apr 22 08:36:52 2003
+++ ../groff-1.19-new/configure Sat Jul 5 15:30:58 2003
@@ -6782,6 +6782,7 @@
# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
+ tmpumask=`umask`
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
test -n "$tmp" && test -d "$tmp"
} ||
@@ -6793,6 +6794,7 @@
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
{ (exit 1); exit 1; }
}
+umask $tmpumask
_ACEOF