Hello community, here is the log from the commit of package byacc for openSUSE:Factory checked in at 2015-08-07 00:24:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/byacc (Old) and /work/SRC/openSUSE:Factory/.byacc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "byacc" Changes: -------- --- /work/SRC/openSUSE:Factory/byacc/byacc.changes 2015-03-01 14:46:51.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.byacc.new/byacc.changes 2015-08-07 00:24:25.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 5 14:39:02 UTC 2015 - mplus...@suse.com + +- Update to 20150711 + * See attached CHANGES for complete list of changes + +------------------------------------------------------------------- Old: ---- byacc-20141128.tgz byacc-20141128.tgz.asc New: ---- byacc-20150711.tgz byacc-20150711.tgz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ byacc.spec ++++++ --- /var/tmp/diff_new_pack.xnDDsh/_old 2015-08-07 00:24:26.000000000 +0200 +++ /var/tmp/diff_new_pack.xnDDsh/_new 2015-08-07 00:24:26.000000000 +0200 @@ -18,7 +18,7 @@ Name: byacc -Version: 20141128 +Version: 20150711 Release: 0 Summary: LALR(1) parser generator License: SUSE-Public-Domain ++++++ byacc-20141128.tgz -> byacc-20150711.tgz ++++++ ++++ 5204 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/CHANGES new/byacc-20150711/CHANGES --- old/byacc-20141128/CHANGES 2014-11-28 16:46:42.000000000 +0100 +++ new/byacc-20150711/CHANGES 2015-07-11 02:53:38.000000000 +0200 @@ -1,3 +1,38 @@ +2015-07-10 Thomas E. Dickey <t...@invisible-island.net> + + * lr0.c: fix a duplicate-free in the leak-checking + + * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: + bump + + * reader.c: + make cache-size clearer (prompted by discussion with Pedro Giffuni, + Oliver Pinter) + + * main.c: + make relationship with format/size clearer (prompted by discussion + with Pedro Giffuni, Oliver Pinter) + +2015-07-05 Thomas E. Dickey <t...@invisible-island.net> + + * configure: regen + + * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION: + bump + + * aclocal.m4: resync with my-autoconf + add configure option --with-man2html + + * makefile.in: add configure options --with-man2html + + * configure.in: add configure option --with-man2html + +2015-05-02 Thomas E. Dickey <t...@invisible-island.net> + + * config.guess: 2015-03-04 + + * config.sub: 2015-03-08 + 2014-11-28 Thomas E. Dickey <t...@invisible-island.net> * lr0.c: coverity #39181: memory leak diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/MANIFEST new/byacc-20150711/MANIFEST --- old/byacc-20141128/MANIFEST 2014-11-28 16:42:17.000000000 +0100 +++ new/byacc-20150711/MANIFEST 2015-07-11 02:53:15.000000000 +0200 @@ -1,4 +1,4 @@ -MANIFEST for byacc-20141128, version t20141128 +MANIFEST for byacc-20150711, version t20150711 -------------------------------------------------------------------------------- MANIFEST this file ACKNOWLEDGEMENTS original version of byacc - 1993 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/VERSION new/byacc-20150711/VERSION --- old/byacc-20141128/VERSION 2014-11-28 16:42:17.000000000 +0100 +++ new/byacc-20150711/VERSION 2015-07-11 02:53:15.000000000 +0200 @@ -1 +1 @@ -20141128 +20150711 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/configure.in new/byacc-20150711/configure.in --- old/byacc-20141128/configure.in 2014-10-07 00:39:39.000000000 +0200 +++ new/byacc-20150711/configure.in 2015-07-06 00:07:36.000000000 +0200 @@ -1,7 +1,7 @@ dnl Process this file with 'autoconf' to produce a 'configure' script -dnl $Id: configure.in,v 1.20 2014/10/06 22:39:39 tom Exp $ +dnl $Id: configure.in,v 1.21 2015/07/05 22:07:36 tom Exp $ AC_PREREQ(2.52.20011201) -AC_REVISION($Revision: 1.20 $) +AC_REVISION($Revision: 1.21 $) AC_INIT(main.c) AC_CONFIG_HEADER(config.h:config_h.in) @@ -53,6 +53,7 @@ CF_WITH_WARNINGS(Wwrite-strings) CF_DISABLE_ECHO CF_DISABLE_LEAKS +CF_WITH_MAN2HTML AC_TYPE_MODE_T diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/lr0.c new/byacc-20150711/lr0.c --- old/byacc-20141128/lr0.c 2014-11-28 16:46:42.000000000 +0100 +++ new/byacc-20150711/lr0.c 2015-07-11 02:53:38.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: lr0.c,v 1.17 2014/11/28 15:46:42 tom Exp $ */ +/* $Id: lr0.c,v 1.18 2015/07/11 00:53:38 tom Exp $ */ #include "defs.h" @@ -596,7 +596,10 @@ { if (derives) { - DO_FREE(derives[start_symbol]); + if (derives[start_symbol] != rules) + { + DO_FREE(derives[start_symbol]); + } DO_FREE(derives); DO_FREE(rules); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/main.c new/byacc-20150711/main.c --- old/byacc-20141128/main.c 2014-10-07 00:40:07.000000000 +0200 +++ new/byacc-20150711/main.c 2015-07-11 02:34:19.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.54 2014/10/06 22:40:07 tom Exp $ */ +/* $Id: main.c,v 1.55 2015/07/11 00:34:19 tom Exp $ */ #include <signal.h> #ifndef _WIN32 @@ -551,6 +551,7 @@ static FILE * open_tmpfile(const char *label) { +#define MY_FMT "%s/%.*sXXXXXX" FILE *result; #if USE_MKSTEMP int fd; @@ -569,7 +570,11 @@ tmpdir = "."; } - name = malloc(strlen(tmpdir) + 10 + strlen(label)); + /* The size of the format is guaranteed to be longer than the result from + * printing empty strings with it; this calculation accounts for the + * string-lengths as well. + */ + name = malloc(strlen(tmpdir) + sizeof(MY_FMT) + strlen(label)); result = 0; if (name != 0) @@ -579,7 +584,7 @@ if ((mark = strrchr(label, '_')) == 0) mark = label + strlen(label); - sprintf(name, "%s/%.*sXXXXXX", tmpdir, (int)(mark - label), label); + sprintf(name, MY_FMT, tmpdir, (int)(mark - label), label); fd = mkstemp(name); if (fd >= 0) { @@ -612,6 +617,7 @@ if (result == 0) open_error(label); return result; +#undef MY_FMT } static void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/makefile.in new/byacc-20150711/makefile.in --- old/byacc-20141128/makefile.in 2014-04-09 14:15:52.000000000 +0200 +++ new/byacc-20150711/makefile.in 2015-07-06 00:12:29.000000000 +0200 @@ -1,4 +1,4 @@ -# $Id: makefile.in,v 1.23 2014/04/09 12:15:52 tom Exp $ +# $Id: makefile.in,v 1.24 2015/07/05 22:12:29 tom Exp $ # # UNIX template-makefile for Berkeley Yacc @@ -134,7 +134,7 @@ - rm -f $(THIS)$x distclean :: clean - - rm -f config.log config.cache config.status config.h makefile + - rm -f config.log config.cache config.status config.h makefile man2html.tmp - rm -f $(testdir)/yacc/test-* $(testdir)/btyacc/test-* realclean :: distclean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/package/byacc.spec new/byacc-20150711/package/byacc.spec --- old/byacc-20141128/package/byacc.spec 2014-11-28 16:42:17.000000000 +0100 +++ new/byacc-20150711/package/byacc.spec 2015-07-11 02:53:15.000000000 +0200 @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20141128 +%define AppVersion 20150711 %define UseProgram yacc -# $XTermId: byacc.spec,v 1.26 2014/11/28 15:42:17 tom Exp $ +# $XTermId: byacc.spec,v 1.28 2015/07/11 00:53:15 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/package/debian/changelog new/byacc-20150711/package/debian/changelog --- old/byacc-20141128/package/debian/changelog 2014-11-28 16:42:17.000000000 +0100 +++ new/byacc-20150711/package/debian/changelog 2015-07-11 02:53:15.000000000 +0200 @@ -1,3 +1,15 @@ +byacc (20150711) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <dic...@invisible-island.net> Fri, 10 Jul 2015 20:53:15 -0400 + +byacc (20150705) unstable; urgency=low + + * maintenance updates + + -- Thomas E. Dickey <dic...@invisible-island.net> Sun, 05 Jul 2015 18:24:51 -0400 + byacc (20141128) unstable; urgency=low * maintenance updates diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/package/debian/copyright new/byacc-20150711/package/debian/copyright --- old/byacc-20141128/package/debian/copyright 2012-01-16 00:04:12.000000000 +0100 +++ new/byacc-20150711/package/debian/copyright 2015-07-06 00:26:16.000000000 +0200 @@ -36,7 +36,7 @@ Files: aclocal.m4 Licence: other-BSD -Copyright: 2004-2011,2012 by Thomas E. Dickey +Copyright: 2004-2014,2015 by Thomas E. Dickey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/package/mingw-byacc.spec new/byacc-20150711/package/mingw-byacc.spec --- old/byacc-20141128/package/mingw-byacc.spec 2014-11-28 16:42:17.000000000 +0100 +++ new/byacc-20150711/package/mingw-byacc.spec 2015-07-11 02:53:15.000000000 +0200 @@ -1,8 +1,8 @@ Summary: byacc - public domain Berkeley LALR Yacc parser generator %define AppProgram byacc -%define AppVersion 20141128 +%define AppVersion 20150711 %define UseProgram yacc -# $XTermId: mingw-byacc.spec,v 1.8 2014/11/28 15:42:17 tom Exp $ +# $XTermId: mingw-byacc.spec,v 1.10 2015/07/11 00:53:15 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/package/pkgsrc/Makefile new/byacc-20150711/package/pkgsrc/Makefile --- old/byacc-20141128/package/pkgsrc/Makefile 2014-11-28 16:42:17.000000000 +0100 +++ new/byacc-20150711/package/pkgsrc/Makefile 2015-07-11 02:53:15.000000000 +0200 @@ -1,7 +1,7 @@ # $NetBSD: Makefile,v 1.9 2008/07/24 17:13:00 tonnerre Exp $ # -DISTNAME= byacc-20141128 +DISTNAME= byacc-20150711 PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/byacc/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/byacc-20141128/reader.c new/byacc-20150711/reader.c --- old/byacc-20141128/reader.c 2014-10-07 00:15:08.000000000 +0200 +++ new/byacc-20150711/reader.c 2015-07-11 02:39:03.000000000 +0200 @@ -1,4 +1,4 @@ -/* $Id: reader.c,v 1.58 2014/10/06 22:15:08 tom Exp $ */ +/* $Id: reader.c,v 1.59 2015/07/11 00:39:03 tom Exp $ */ #include "defs.h" @@ -26,6 +26,7 @@ static char *process_destructor_XX(char *code, char *tag); #endif +#define CACHE_SIZE 256 static char *cache; static int cinc, cache_size; @@ -95,7 +96,7 @@ assert(cinc >= 0); if (cinc >= cache_size) { - cache_size += 256; + cache_size += CACHE_SIZE; cache = TREALLOC(char, cache, cache_size); NO_SPACE(cache); } @@ -1495,7 +1496,7 @@ { int c, k; - cache_size = 256; + cache_size = CACHE_SIZE; cache = TMALLOC(char, cache_size); NO_SPACE(cache); @@ -2081,6 +2082,7 @@ bucket *bp, **bpp; assert(cache); + assert(cache_size >= CACHE_SIZE); sprintf(cache, "$$%d", ++gensym); bp = make_bucket(cache); last_symbol->next = bp;