summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-09-23 16:05:24 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-09-23 16:05:24 +0000
commitab3a7f8fd557a78fa9f8cd454f746cc931baf326 (patch)
tree04308357aabb57b1a75dcf9b029d1d0c7ee84a65 /readline
parent2cc762b50b0fe63c0de4cf1e00f4f85f7a8687e9 (diff)
downloadbinutils-gdb-ab3a7f8fd557a78fa9f8cd454f746cc931baf326.tar.gz
[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.gdb5
-rw-r--r--readline/util.c2
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);
}