diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-09-23 16:05:24 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-09-23 16:05:24 +0000 |
commit | ab3a7f8fd557a78fa9f8cd454f746cc931baf326 (patch) | |
tree | 04308357aabb57b1a75dcf9b029d1d0c7ee84a65 /readline | |
parent | Reuse print_hex_chars. (diff) | |
download | binutils-gdb-ab3a7f8fd557a78fa9f8cd454f746cc931baf326.tar.gz binutils-gdb-ab3a7f8fd557a78fa9f8cd454f746cc931baf326.tar.bz2 binutils-gdb-ab3a7f8fd557a78fa9f8cd454f746cc931baf326.zip |
[MinGW] Fix a compilation error in readline/util.c:_rl_strnicmp
readline/ChangeLog.gdb:
* readline/util.c (_rl_strnicmp): Add missing semicolon.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/ChangeLog.gdb | 5 | ||||
-rw-r--r-- | readline/util.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb index 2613d7800c9..46015adf7e7 100644 --- a/readline/ChangeLog.gdb +++ b/readline/ChangeLog.gdb @@ -1,3 +1,8 @@ +2013-09-23 Martin Benda <martin.benda@omsquare.com> + + Checked in by Joel Brobecker <brobecker@adacore.com> + * readline/util.c (_rl_strnicmp): Add missing semicolon. + 2013-05-22 Yao Qi <yao@codesourcery.com> * configure.in: Invoke AC_CANONICAL_BUILD. diff --git a/readline/util.c b/readline/util.c index 6c68ad8d41f..321dee23560 100644 --- a/readline/util.c +++ b/readline/util.c @@ -389,7 +389,7 @@ _rl_strnicmp (string1, string2, count) break; s2++; } - while (--count != 0) + while (--count != 0); return (0); } |