From 1b89c5a728a99acffff75582f5a4126f5b4d2d4b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 17 May 2016 00:10:52 +0300 Subject: Version 1.5 * NEWS: Version 1.5 * configure.ac: Likewise. * src/main.c (parse_opt): Bugfix. * src/parser.c: Include ctype.h. * src/symbol.c (hash_symbol_hasher): Fix signature. --- NEWS | 4 ++-- configure.ac | 2 +- src/main.c | 2 +- src/parser.c | 1 + src/symbol.c | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index dbdd737..cc89a03 100644 --- a/NEWS +++ b/NEWS @@ -1,11 +1,11 @@ -GNU cflow NEWS -- history of user-visible changes. 2016-03-22 +GNU cflow NEWS -- history of user-visible changes. 2016-05-17 Copyright (C) 2005-2007, 2009-2011, 2014-2016 Sergey Poznyakoff See the end of file for copying conditions. Please send cflow bug reports to . -Version 1.4.90 (Git) +Version 1.5, 2016-05-17 * Correctly handle functions returning struct/union (fixes bug #31792) * Gracefully handle invalid inputs (fixes bug #44113) diff --git a/configure.ac b/configure.ac index 4909b05..35f55f8 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # along with this program. If not, see . AC_PREREQ(2.61) -AC_INIT([GNU cflow], [1.4.90], [bug-cflow@gnu.org]) +AC_INIT([GNU cflow], [1.5], [bug-cflow@gnu.org]) AC_CONFIG_SRCDIR([src/cflow.h]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.11 gnits tar-ustar dist-bzip2 dist-xz std-options diff --git a/src/main.c b/src/main.c index 82f9413..e034439 100644 --- a/src/main.c +++ b/src/main.c @@ -540,7 +540,7 @@ parse_opt (int key, char *arg, struct argp_state *state) case OPT_NO_TREE: print_as_tree = 0; level_indent[0] = level_indent[1] = NULL; - level_end[0] = level_end[0] = NULL; + level_end[0] = level_end[1] = NULL; break; case 'b': brief_listing = 1; diff --git a/src/parser.c b/src/parser.c index 4be9d4e..d2832a1 100644 --- a/src/parser.c +++ b/src/parser.c @@ -16,6 +16,7 @@ #include #include +#include typedef struct { char *name; diff --git a/src/symbol.c b/src/symbol.c index 6d31801..460f954 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -43,7 +43,7 @@ struct table_entry { /* Calculate the hash of a string. */ static size_t -hash_symbol_hasher(void const *data, unsigned n_buckets) +hash_symbol_hasher(void const *data, size_t n_buckets) { struct table_entry const *t = data; if (!t->sym) -- cgit v1.2.1