bug-gnu-utils
[Top][All Lists]
Advanced

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

[patch] gettext 0.11.3: SIGFPE compilation error


From: Maciej W. Rozycki
Subject: [patch] gettext 0.11.3: SIGFPE compilation error
Date: Tue, 23 Jul 2002 20:26:19 +0200 (MET DST)

Hello,

 There is a bug in intl/eval-plural.h which prevents the file from being
compiled if INTDIV0_RAISES_SIGFPE is unset.  The reason is the SIGFPE
macro which is undefined.  Here is a fix.

2002-07-23  Maciej W. Rozycki  <address@hidden>

        * intl/eval-plural.h: Include <signal.h> for SIGFPE.

 Please apply.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: address@hidden, PGP key available        +

gettext-0.11.3-sigfpe.patch
diff -up --recursive --new-file gettext-0.11.3.macro/intl/eval-plural.h 
gettext-0.11.3/intl/eval-plural.h
--- gettext-0.11.3.macro/intl/eval-plural.h     2002-06-07 12:28:59.000000000 
+0000
+++ gettext-0.11.3/intl/eval-plural.h   2002-07-21 22:52:30.000000000 +0000
@@ -16,6 +16,10 @@
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    USA.  */
 
+#if !INTDIV0_RAISES_SIGFPE
+#include <signal.h>
+#endif
+
 #ifndef STATIC
 #define STATIC static
 #endif




reply via email to

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