aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-02-29 19:37:12 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-02-29 19:37:12 +0000
commit2d99735ad90e15dc4acb7850a12dfc3b1fc07467 (patch)
tree5b8f864c0b941e09085d5c5259d968d92555a641
parentc021d7a62270a1857f906697e771ca46fccb0106 (diff)
downloadsrc-2d99735ad90e15dc4acb7850a12dfc3b1fc07467.tar.gz
src-2d99735ad90e15dc4acb7850a12dfc3b1fc07467.zip
Import byacc 20141128.vendor/byacc/20141128
Notes
Notes: svn path=/vendor/byacc/dist/; revision=296222 svn path=/vendor/byacc/20141128/; revision=296223; tag=vendor/byacc/20141128
-rw-r--r--CHANGES22
-rw-r--r--MANIFEST2
-rw-r--r--VERSION2
-rw-r--r--descrip.mms20
-rw-r--r--lr0.c6
-rw-r--r--package/byacc.spec4
-rw-r--r--package/debian/changelog6
-rw-r--r--package/mingw-byacc.spec4
-rw-r--r--package/pkgsrc/Makefile2
9 files changed, 57 insertions, 11 deletions
diff --git a/CHANGES b/CHANGES
index 1f0146154010..b07037f6af10 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,25 @@
+2014-11-28 Thomas E. Dickey <tom@invisible-island.net>
+
+ * lr0.c: coverity #39181: memory leak
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+2014-11-13 Jouk.Jansen
+
+ * descrip.mms:
+ I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
+ the descrip.mms to include some extra c-source files and some dependenxcies
+ so that it also works when the distribution is located on an ODS5 disk.
+
+ The patched descrip.mms file can be found at:
+ http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
+
+ Please feel free to insert the file in your distribution.
+
+ Regards
+ Jouk.
+
2014-10-06 Thomas E. Dickey <tom@invisible-island.net>
* package/debian/source/format:
diff --git a/MANIFEST b/MANIFEST
index 4ba043569681..ea5b987dca01 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-MANIFEST for byacc-20141006, version t20141006
+MANIFEST for byacc-20141128, version t20141128
--------------------------------------------------------------------------------
MANIFEST this file
ACKNOWLEDGEMENTS original version of byacc - 1993
diff --git a/VERSION b/VERSION
index 572a8c23c8e8..a0c7f83feb64 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-20141006
+20141128
diff --git a/descrip.mms b/descrip.mms
index 007468b07b36..62f7d38586af 100644
--- a/descrip.mms
+++ b/descrip.mms
@@ -5,11 +5,11 @@ LINKFLAGS = /map=$(MMS$TARGET_NAME)/cross_reference/exec=$(MMS$TARGET_NAME).exe
LINKER = cc
OBJS = closure.obj, \
- error.obj, \
+ error.obj,graph.obj, \
lalr.obj, \
lr0.obj, \
main.obj, \
- mkpar.obj, \
+ mkpar.obj,mstring.obj, \
output.obj, \
reader.obj, \
yaccpar.obj, \
@@ -20,6 +20,7 @@ OBJS = closure.obj, \
PROGRAM = yacc.exe
all : $(PROGRAM)
+ @ write sys$output "All done"
$(PROGRAM) : $(OBJS)
@ write sys$output "Loading $(PROGRAM) ... "
@@ -35,3 +36,18 @@ clobber : clean
@- if f$search("*.exe") .nes. "" then delete *.exe;*
$(OBJS) : defs.h
+
+closure.obj : closure.c
+error.obj : error.c
+graph.obj : graph.c
+lalr.obj : lalr.c
+lr0.obj : lr0.c
+main.obj : main.c
+mkpar.obj : mkpar.c
+mstring.obj : mstring.c
+output.obj : output.c
+reader.obj : reader.c
+yaccpar.obj : yaccpar.c
+symtab.obj : symtab.c
+verbose.obj : verbose.c
+warshall.obj : warshall.c
diff --git a/lr0.c b/lr0.c
index 162d1067d8b2..145de4491f3b 100644
--- a/lr0.c
+++ b/lr0.c
@@ -1,4 +1,4 @@
-/* $Id: lr0.c,v 1.16 2014/04/07 21:53:50 tom Exp $ */
+/* $Id: lr0.c,v 1.17 2014/11/28 15:46:42 tom Exp $ */
#include "defs.h"
@@ -30,6 +30,8 @@ static reductions *last_reduction;
static int nshifts;
static Value_t *shift_symbol;
+static Value_t *rules;
+
static Value_t *redset;
static Value_t *shiftset;
@@ -483,7 +485,6 @@ set_derives(void)
{
Value_t i, k;
int lhs;
- Value_t *rules;
derives = NEW2(nsyms, Value_t *);
rules = NEW2(nvars + nrules, Value_t);
@@ -597,6 +598,7 @@ lr0_leaks(void)
{
DO_FREE(derives[start_symbol]);
DO_FREE(derives);
+ DO_FREE(rules);
}
DO_FREE(nullable);
}
diff --git a/package/byacc.spec b/package/byacc.spec
index efed5211218e..0f2f11021d14 100644
--- a/package/byacc.spec
+++ b/package/byacc.spec
@@ -1,8 +1,8 @@
Summary: byacc - public domain Berkeley LALR Yacc parser generator
%define AppProgram byacc
-%define AppVersion 20141006
+%define AppVersion 20141128
%define UseProgram yacc
-# $XTermId: byacc.spec,v 1.25 2014/10/06 22:52:03 tom Exp $
+# $XTermId: byacc.spec,v 1.26 2014/11/28 15:42:17 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: 1
diff --git a/package/debian/changelog b/package/debian/changelog
index c700fb561821..3b8226bae6c5 100644
--- a/package/debian/changelog
+++ b/package/debian/changelog
@@ -1,3 +1,9 @@
+byacc (20141128) unstable; urgency=low
+
+ * maintenance updates
+
+ -- Thomas E. Dickey <dickey@invisible-island.net> Fri, 28 Nov 2014 10:42:17 -0500
+
byacc (20141006) unstable; urgency=low
* maintenance updates
diff --git a/package/mingw-byacc.spec b/package/mingw-byacc.spec
index 3cc029272211..d4ab230664c3 100644
--- a/package/mingw-byacc.spec
+++ b/package/mingw-byacc.spec
@@ -1,8 +1,8 @@
Summary: byacc - public domain Berkeley LALR Yacc parser generator
%define AppProgram byacc
-%define AppVersion 20141006
+%define AppVersion 20141128
%define UseProgram yacc
-# $XTermId: mingw-byacc.spec,v 1.7 2014/10/06 22:52:03 tom Exp $
+# $XTermId: mingw-byacc.spec,v 1.8 2014/11/28 15:42:17 tom Exp $
Name: %{AppProgram}
Version: %{AppVersion}
Release: 1
diff --git a/package/pkgsrc/Makefile b/package/pkgsrc/Makefile
index 691b67877068..27284492ddfb 100644
--- a/package/pkgsrc/Makefile
+++ b/package/pkgsrc/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $
#
-DISTNAME= byacc-20141006
+DISTNAME= byacc-20141128
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/byacc/