summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay.choubey@oracle.com>2011-10-24 13:48:54 +0530
committerNirbhay Choubey <nirbhay.choubey@oracle.com>2011-10-24 13:48:54 +0530
commitae3dead08938b7e3dbb1b352ddd551f2b18d18a6 (patch)
tree1579d2c21d56051272198e11e12685cab8cebfaa /cmd-line-utils
parent45526450044c2f5e82138f9ca778d1fcf8ea734b (diff)
parent9537192ae62586d900f61b0c18e9416681a43130 (diff)
downloadmariadb-git-ae3dead08938b7e3dbb1b352ddd551f2b18d18a6.tar.gz
Local merge from mysql-5.1.
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;
}