Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
gettext-csharp
gettext-0.12.1-sigfpe.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gettext-0.12.1-sigfpe.patch of Package gettext-csharp
--- gettext-runtime/intl/dcigettext.c +++ gettext-runtime/intl/dcigettext.c 2002/08/08 10:27:59 @@ -63,20 +63,7 @@ #endif #include <locale.h> - -#ifdef _LIBC - /* Guess whether integer division by zero raises signal SIGFPE. - Set to 1 only if you know for sure. In case of doubt, set to 0. */ -# if defined __alpha__ || defined __arm__ || defined __i386__ \ - || defined __m68k__ || defined __s390__ -# define INTDIV0_RAISES_SIGFPE 1 -# else -# define INTDIV0_RAISES_SIGFPE 0 -# endif -#endif -#if !INTDIV0_RAISES_SIGFPE -# include <signal.h> -#endif +#include <signal.h> #if defined HAVE_SYS_PARAM_H || defined _LIBC # include <sys/param.h> --- gettext-runtime/intl/eval-plural.h +++ gettext-runtime/intl/eval-plural.h 2002/08/08 10:27:59 @@ -68,16 +68,12 @@ case mult: return leftarg * rightarg; case divide: -#if !INTDIV0_RAISES_SIGFPE if (rightarg == 0) raise (SIGFPE); -#endif return leftarg / rightarg; case module: -#if !INTDIV0_RAISES_SIGFPE if (rightarg == 0) raise (SIGFPE); -#endif return leftarg % rightarg; case plus: return leftarg + rightarg;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor