> 2011-04-27 Reuben Thomas <r...@sc3d.org> > and Eric Blake <ebl...@redhat.com> > > + 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 <br...@clisp.org> 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>