[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Gabriele Giacone |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1344-g6f6007b |
Date: |
Thu, 15 Dec 2011 12:23:43 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 6f6007bb421dfb45338d3cc9c57ce619d3219de3 (commit)
from 5fe0f9d3d9951df0ab68dd8123dd0739db9c9062 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=6f6007bb421dfb45338d3cc9c57ce619d3219de3
commit 6f6007bb421dfb45338d3cc9c57ce619d3219de3
Author: Brad Smith <address@hidden>
Date: Thu Dec 15 13:20:11 2011 +0100
Properly use mkstemps() wherever it is available
diff --git a/configure.ac b/configure.ac
index 377a4b9..da922d5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2224,6 +2224,7 @@ if test "x$ac_cv_long_timezone" = "xyes" ; then
AC_DEFINE(HAVE_LONG_TIMEZONE, [1], [extern timezone is a long integer, not a
function])
fi
+AC_CHECK_FUNCS(mkstemps)
AC_CHECK_FUNCS(sysconf)
AC_CHECK_FUNCS(shmget shmat shmdt mmap)
AC_CHECK_FUNCS(scandir) dnl supported by BSD and Linux, but you never
know...
diff --git a/plugin/npapi/plugin.cpp b/plugin/npapi/plugin.cpp
index 966b99f..7309756 100644
--- a/plugin/npapi/plugin.cpp
+++ b/plugin/npapi/plugin.cpp
@@ -159,7 +159,7 @@ boost::iostreams::file_descriptor_sink
getfdsink(char mksTemplate[])
{
int fd, suffix = std::string(mksTemplate).size() -
std::string(mksTemplate).find("XXXXXX") - 6;
-#if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 11)
+#ifdef HAVE_MKSTEMPS
fd = mkstemps (mksTemplate, suffix);
#else
if (suffix > 0) {
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
plugin/npapi/plugin.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1344-g6f6007b,
Gabriele Giacone <=