Excess dependency noted by Eli Zaretskii (Bug#28023#17).
* lib/tempname.c (__secure_getenv) [!_LIBC]: Remove; unused.
* modules/tempname (Depends-on): Remove secure_getenv.
---
 ChangeLog        | 7 +++++++
 lib/tempname.c   | 1 -
 modules/tempname | 1 -
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6c418dfe1..92113dec0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-08-09  Paul Eggert  <egg...@cs.ucla.edu>
+
+       tempname: do not depend on secure_getenv
+       Excess dependency noted by Eli Zaretskii (Bug#28023#17).
+       * lib/tempname.c (__secure_getenv) [!_LIBC]: Remove; unused.
+       * modules/tempname (Depends-on): Remove secure_getenv.
+
 2017-08-08  Paul Eggert  <egg...@cs.ucla.edu>
 
        extensions: add _OPENBSD_SOURCE
diff --git a/lib/tempname.c b/lib/tempname.c
index 9c4a3c2a5..c274b8dd4 100644
--- a/lib/tempname.c
+++ b/lib/tempname.c
@@ -69,7 +69,6 @@
 # define __mkdir mkdir
 # define __open open
 # define __lxstat64(version, file, buf) lstat (file, buf)
-# define __secure_getenv secure_getenv
 #endif
 
 #ifdef _LIBC
diff --git a/modules/tempname b/modules/tempname
index 570ea54a4..d5218eee5 100644
--- a/modules/tempname
+++ b/modules/tempname
@@ -12,7 +12,6 @@ extensions
 fcntl-h
 gettimeofday
 lstat
-secure_getenv
 stdint
 sys_stat
 sys_time
-- 
2.13.4


Reply via email to