diff options
author | Nik Clayton <nik@FreeBSD.org> | 2000-04-22 00:54:36 +0000 |
---|---|---|
committer | Nik Clayton <nik@FreeBSD.org> | 2000-04-22 00:54:36 +0000 |
commit | 15633b0ca640100df8d158399c52cd334e9c6246 (patch) | |
tree | 8310ef630aeef140da661328a8f5076190d61e6e /graphics | |
parent | Update to 1.8-dev (diff) |
"fpsetmask(0)" at the top of main() to prevent floating point core-dumps.
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=27872
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/dia/files/patch-ae | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-ae b/graphics/dia/files/patch-ae new file mode 100644 index 000000000000..8f16e74f66eb --- /dev/null +++ b/graphics/dia/files/patch-ae @@ -0,0 +1,20 @@ +--- app/main.c.org Wed Apr 19 20:56:49 2000 ++++ app/main.c Wed Apr 19 20:57:43 2000 +@@ -15,6 +15,8 @@ + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ ++#include <ieeefp.h> ++ + #include "geometry.h" + #include "diagram.h" + #include "display.h" +@@ -25,6 +27,8 @@ + + int main(int argc, char *argv[]) + { ++ fpsetmask(0); ++ + app_init(argc, argv); + + gtk_main (); |