]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid crash in signal handler on Cygwin.
authorBruno Haible <bruno@clisp.org>
Tue, 9 May 2006 18:35:25 +0000 (18:35 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:15 +0000 (12:13 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/plural-eval.h

index ee7a91710311f60a876565071288a96edac3e915..c6a291aa4c8ee19d0fce6df3c595a06b6086ea62 100644 (file)
@@ -1,3 +1,7 @@
+2006-05-09  Bruno Haible  <bruno@clisp.org>
+
+       * plural-eval.h (USE_SIGINFO): Don't define on Cygwin.
+
 2006-05-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
 
        * write-mo.h: Remove DLL_VARIABLE declarations, not needed since
index d38b666f64460fbf5b54b2957381395b8779762e..7acba2512539360ab509d3e0fac4023a51fd453d 100644 (file)
@@ -1,5 +1,5 @@
 /* Expression evaluation for plural form selection.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005-2006 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2005.
 
    This program is free software; you can redistribute it and/or modify
@@ -38,8 +38,8 @@
 #endif
 
 /* We use siginfo to get precise information about the signal.
-   But siginfo doesn't work on Irix 6.5.  */
-#if HAVE_SIGINFO && !defined (__sgi)
+   But siginfo doesn't work on Irix 6.5 and on Cygwin 2005.  */
+#if HAVE_SIGINFO && !defined (__sgi) && !defined (__CYGWIN__)
 # define USE_SIGINFO 1
 #endif