summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay.choubey@oracle.com>2011-10-24 13:35:28 +0530
committerNirbhay Choubey <nirbhay.choubey@oracle.com>2011-10-24 13:35:28 +0530
commitf66002f8eb5747e95721790b30a5e02be6ca6929 (patch)
tree55f28f105d1939c866a5f44009a87bafa77bcb3b /cmd-line-utils
parent62a40350b162a73a20a0d66b7efebd470b520c2b (diff)
downloadmariadb-git-f66002f8eb5747e95721790b30a5e02be6ca6929.tar.gz
WL#5945 - Improve libedit library
Fixed a misplaced parenthesis, injected due to syncing from libedit CVS head.
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/README2
-rw-r--r--cmd-line-utils/libedit/chared.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd-line-utils/libedit/README b/cmd-line-utils/libedit/README
index 28041766a2e..c4bc1554b03 100644
--- a/cmd-line-utils/libedit/README
+++ b/cmd-line-utils/libedit/README
@@ -42,7 +42,7 @@ then merge remaining bits by hand. All MySQL-specific changes should be
marked with XXXMYSQL to make them easier to identify and merge. To generate
a 'clean' diff against upstream you can use the above commands but use
- cvs co -D "2011/10/04 15:27:04" [..]
+ cvs co -D "2011/10/23 17:37:55" [..]
to fetch the baseline of most recent merge.
diff --git a/cmd-line-utils/libedit/chared.c b/cmd-line-utils/libedit/chared.c
index aba30086b9f..647a5afe439 100644
--- a/cmd-line-utils/libedit/chared.c
+++ b/cmd-line-utils/libedit/chared.c
@@ -1,4 +1,4 @@
-/* $NetBSD: chared.c,v 1.35 2011/08/16 16:25:15 christos Exp $ */
+/* $NetBSD: chared.c,v 1.36 2011/10/23 17:37:55 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -200,7 +200,7 @@ c_delbefore1(EditLine *el)
protected int
ce__isword(Int p)
{
- return Isalnum(p || Strchr(STR("*?_-.[]~="), p) != NULL);
+ return Isalnum(p) || Strchr(STR("*?_-.[]~="), p) != NULL;
}