Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20246
Modified Files: units.info units.patch Log Message: Core dump solved. Writing through a pointer to an undefined symbol is Bad. Index: units.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/units.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- units.patch 4 May 2006 15:53:20 -0000 1.3 +++ units.patch 4 May 2006 16:21:34 -0000 1.4 @@ -41,7 +41,7 @@ # Tell versions [3.59,3.63) of GNU make not to export all variables. diff -Nurd -x'*~' units-1.85.orig/parse.y units-1.85/parse.y --- units-1.85.orig/parse.y 2005-04-24 14:14:55.000000000 -0400 -+++ units-1.85/parse.y 2006-05-04 11:40:14.000000000 -0400 ++++ units-1.85/parse.y 2006-05-04 12:13:19.000000000 -0400 @@ -22,6 +22,9 @@ %{ @@ -52,6 +52,15 @@ #define YYPARSE_PARAM comm #define YYLEX_PARAM comm +@@ -30,7 +33,7 @@ + #include "units.h" + + +-int err; /* value used by parser to store return values */ ++static int err; /* value used by parser to store return values */ + + #define CHECK if (err) { COMM->errorcode=err; YYABORT; } + @@ -273,6 +276,7 @@ "**", EXPONENT, 0, 0 }; Index: units.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/units.info,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- units.info 4 May 2006 15:53:20 -0000 1.5 +++ units.info 4 May 2006 16:21:34 -0000 1.6 @@ -1,6 +1,6 @@ Package: units Version: 1.85 -Revision: 1002 +Revision: 1003 Maintainer: Ashley Yakeley <[EMAIL PROTECTED]> BuildDepends: readline5 (>= 5.0-1004), libncurses5 (>= 5.4-20041023-1006) Depends: readline5-shlibs (>= 5.0-1004) @@ -20,7 +20,9 @@ Use local files in preference to system ones - Fix implicit function declarations + Fix some implicit function declarations + + Make sure the parser.y "err" variable exists (averts core-dump) << License: GPL Homepage: http://www.gnu.org/software/units/units.html ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits