[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] [PATH] Honor `$TMPDIR' in `configure'
From: |
Debarshi Ray |
Subject: |
Re: [bug-inetutils] [PATH] Honor `$TMPDIR' in `configure' |
Date: |
Tue, 15 Apr 2008 01:35:29 +0530 |
This is what I am going to commit:
Index: ChangeLog
===================================================================
RCS file: /sources/inetutils/inetutils/ChangeLog,v
retrieving revision 1.299
diff -u -p -r1.299 ChangeLog
--- ChangeLog 14 Apr 2008 13:41:57 -0000 1.299
+++ ChangeLog 14 Apr 2008 20:01:55 -0000
@@ -1,3 +1,7 @@
+2008-04-15 Ludovic Courtès <address@hidden> (tiny change)
+
+ * acinclude.m4 (IU_CONFIG_PATHS): Honor `$TMPDIR'.
+
2008-04-14 Edward Attfield <address@hidden> (tiny change)
* telnet/sys_bsd.c (process_rings): New variable NFDS. Detect the
Index: acinclude.m4
===================================================================
RCS file: /sources/inetutils/inetutils/acinclude.m4,v
retrieving revision 1.20
diff -u -p -r1.20 acinclude.m4
--- acinclude.m4 29 Jun 2007 16:29:34 -0000 1.20
+++ acinclude.m4 14 Apr 2008 20:01:57 -0000
@@ -277,8 +277,10 @@ AC_DEFUN([IU_CONFIG_PATHS], [
IU_UCASE=ABCDEFGHIJKLMNOPQRSTUVWXYZ
iu_lcase=abcdefghijklmnopqrstuvwxyz
- iu_cache_file="/tmp/,iu-path-cache.$$"
- iu_tmp_file="/tmp/,iu-tmp.$$"
+ tmpdir="$TMPDIR"
+ test x"$tmpdir" = x && tmpdir="/tmp"
+ iu_cache_file="$tmpdir/,iu-path-cache.$$"
+ iu_tmp_file="$tmpdir/,iu-tmp.$$"
ac_clean_files="$ac_clean_files $iu_cache_file $iu_tmp_file"
while read iu_path iu_search; do
test "$iu_path" = "#" -o -z "$iu_path" && continue
Comments?
Happy hacking,
Debarshi
--
"From what we get, we can make a living; what we give, however, makes a life."
-- Arthur Ashe