diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-05-17 00:10:52 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-05-17 00:10:52 +0300 |
commit | 1b89c5a728a99acffff75582f5a4126f5b4d2d4b (patch) | |
tree | 615815a6ebbc828d25cd82bb98983821bfc6ea08 | |
parent | 66a305bb2fda5e7c9d813ee067e4923d9f0a631e (diff) | |
download | cflow-1b89c5a728a99acffff75582f5a4126f5b4d2d4b.tar.gz cflow-1b89c5a728a99acffff75582f5a4126f5b4d2d4b.tar.bz2 |
Version 1.5release-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.
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/parser.c | 1 | ||||
-rw-r--r-- | src/symbol.c | 2 |
5 files changed, 6 insertions, 5 deletions
@@ -1,14 +1,14 @@ -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 <bug-cflow@gnu.org>. -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) * Debugging output goes to stderr * Add a manpage * Consistent use of exit codes diff --git a/configure.ac b/configure.ac index 4909b05..35f55f8 100644 --- a/configure.ac +++ b/configure.ac @@ -15,13 +15,13 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. 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 silent-rules]) AC_CONFIG_HEADER([config.h]) @@ -537,13 +537,13 @@ parse_opt (int key, char *arg, struct argp_state *state) set_level_indent("end0=+-"); set_level_indent("end1=\\\\-"); break; 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; break; case OPT_NO_BRIEF: brief_listing = 0; diff --git a/src/parser.c b/src/parser.c index 4be9d4e..d2832a1 100644 --- a/src/parser.c +++ b/src/parser.c @@ -13,12 +13,13 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <cflow.h> #include <parser.h> +#include <ctype.h> typedef struct { char *name; int type_end; int parmcnt; int line; diff --git a/src/symbol.c b/src/symbol.c index 6d31801..460f954 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -40,13 +40,13 @@ append_symbol(struct linked_list **plist, Symbol *sp) struct table_entry { Symbol *sym; }; /* 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) return ((size_t) data) % n_buckets; return hash_string(t->sym->name, n_buckets); } |