bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open MinGW failure


From: Simon Josefsson
Subject: Re: open MinGW failure
Date: Sat, 09 Jan 2010 12:22:11 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

This problem was also caused by Wine, and not visible under Windows XP.
See http://bugs.winehq.org/show_bug.cgi?id=21292

My old patch fixes the problem under Wine, but this updated patch adds a
comment explaining.

Ok to push?

/Simon

diff --git a/m4/open.m4 b/m4/open.m4
index d705b3a..bc04613 100644
--- a/m4/open.m4
+++ b/m4/open.m4
@@ -8,7 +8,7 @@ AC_DEFUN([gl_FUNC_OPEN],
 [
   AC_REQUIRE([AC_CANONICAL_HOST])
   case "$host_os" in
-    mingw* | pw*)
+    pw*)
       gl_REPLACE_OPEN
       ;;
     *)
@@ -40,6 +40,9 @@ changequote(,)dnl
                freebsd*)        gl_cv_func_open_slash="guessing no" ;;
                solaris2.[0-9]*) gl_cv_func_open_slash="guessing no" ;;
                hpux*)           gl_cv_func_open_slash="guessing no" ;;
+              # The misbehaviour is only under Wine, see
+              # http://bugs.winehq.org/show_bug.cgi?id=21292
+              mingw*)          gl_cv_func_open_slash="guessing no" ;;
                *)               gl_cv_func_open_slash="guessing yes" ;;
              esac
 changequote([,])dnl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]