[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mkstemp: replace if system version uses wrong permissions
From: |
Bruno Haible |
Subject: |
Re: [PATCH] mkstemp: replace if system version uses wrong permissions |
Date: |
Wed, 27 Apr 2011 23:43:01 +0200 |
User-agent: |
KMail/1.9.9 |
> 2011-04-27 Reuben Thomas <address@hidden>
> and Eric Blake <address@hidden>
>
> + mkstemp: replace if system version uses wrong permissions
> + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Add test for non-owner
> + read/write mode bits set in file created by mkstemp.
> + * doc/posix-functions/mkstemp.texi (mkstemp): Document the fix.
> +
Nice improvement!
Let me just tweak the configure output in case of cross-compilation:
2011-04-27 Bruno Haible <address@hidden>
mkstemp: Tweak configure message when cross-compiling.
* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): When cross-compiling, qualify the
result as a guess.
--- m4/mkstemp.m4.orig Wed Apr 27 23:38:06 2011
+++ m4/mkstemp.m4 Wed Apr 27 23:35:39 2011
@@ -56,10 +56,10 @@
return result;]])],
[gl_cv_func_working_mkstemp=yes],
[gl_cv_func_working_mkstemp=no],
- [gl_cv_func_working_mkstemp=no])
+ [gl_cv_func_working_mkstemp="guessing no"])
rm -rf conftest.mkstemp
])
- if test $gl_cv_func_working_mkstemp != yes; then
+ if test "$gl_cv_func_working_mkstemp" != yes; then
REPLACE_MKSTEMP=1
AC_LIBOBJ([mkstemp])
gl_PREREQ_MKSTEMP
--
In memoriam Marian Batko <http://pl.wikipedia.org/wiki/Marian_Batko>
<http://en.auschwitz.org.pl/m/index.php?Itemid=8&id=478&option=com_content&task=view>
- Re: mkstemp, (continued)
- Re: mkstemp, Eric Blake, 2011/04/27
- Re: mkstemp, Reuben Thomas, 2011/04/27
- Re: mkstemp, Bruno Haible, 2011/04/27
- Re: mkstemp, Eric Blake, 2011/04/27
- Re: mkstemp, Bruno Haible, 2011/04/27
- Re: mkstemp, Reuben Thomas, 2011/04/27
- Re: mkstemp, Eric Blake, 2011/04/27
- [PATCH] mkstemp: replace if system version uses wrong permissions, Eric Blake, 2011/04/27
- Re: [PATCH] mkstemp: replace if system version uses wrong permissions, Reuben Thomas, 2011/04/27
- Re: [PATCH] mkstemp: replace if system version uses wrong permissions, Eric Blake, 2011/04/27
- Re: [PATCH] mkstemp: replace if system version uses wrong permissions,
Bruno Haible <=
- Re: mkstemp, Bruno Haible, 2011/04/27
- Re: mkstemp, Eric Blake, 2011/04/27