[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnucap] patches for gnucap
From: |
Dan McMahill |
Subject: |
[Bug-gnucap] patches for gnucap |
Date: |
Mon, 22 Mar 2004 06:16:15 -0500 |
User-agent: |
Mutt/1.4.1i |
Hi Al,
Hope this is the right place to send this. I recently had
a problem where I needed to include math.h in one of the gnucap
source files to build gnucap. Also, I found a bug in one of the
scripts.
patches are attached.
-Dan
--
--- test/test.orig Sun Feb 1 22:49:09 2004
+++ test/test
@@ -1,5 +1,5 @@
#!/bin/sh
-if [ $# == 0 ] ; then
+if [ $# -eq 0 ] ; then
echo "usage: ./test gnucap \"testcases\" targetdir refdir"
echo "usual testcases is \"\", usual refdir is =="
echo "example: ./test gnucap \"\" myversion =="
--- src/l_ftos.cc.orig Sun Feb 1 21:13:19 2004
+++ src/l_ftos.cc
@@ -36,6 +36,8 @@
* there is a finite pool, so repeated calls work, to a point.
* after that, the space is overwritten, every POOLSIZE calls
*/
+
+#include <math.h>
#include "l_lib.h"
#include "constant.h"
/*--------------------------------------------------------------------------*/
- [Bug-gnucap] patches for gnucap,
Dan McMahill <=