Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7cac9695
Commit
7cac9695
authored
Oct 21, 2011
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Plain Diff
Merge of fix for bug#13106585 from mysql-5.1.
parents
a563b21a
7255c056
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
18 deletions
+15
-18
cmd-line-utils/libedit/CMakeLists.txt
cmd-line-utils/libedit/CMakeLists.txt
+1
-0
cmd-line-utils/libedit/chartype.c
cmd-line-utils/libedit/chartype.c
+0
-3
cmd-line-utils/libedit/histedit.h
cmd-line-utils/libedit/histedit.h
+0
-9
cmd-line-utils/libedit/refresh.c
cmd-line-utils/libedit/refresh.c
+0
-2
cmd-line-utils/libedit/sys.h
cmd-line-utils/libedit/sys.h
+14
-1
cmd-line-utils/libedit/terminal.c
cmd-line-utils/libedit/terminal.c
+0
-3
No files found.
cmd-line-utils/libedit/CMakeLists.txt
View file @
7cac9695
...
...
@@ -156,6 +156,7 @@ ${CURSES_INCLUDE_PATH}
SET
(
LIBEDIT_SOURCES
chared.c
chartype.c
el.c
eln.c
history.c
...
...
cmd-line-utils/libedit/chartype.c
View file @
7cac9695
...
...
@@ -258,9 +258,6 @@ ct_visual_string(const Char *s)
return
NULL
;
}
#ifdef WIDECHAR
int
wcwidth
(
wchar_t
wc
);
// Signature.
#endif
protected
int
ct_visual_width
(
Char
c
)
...
...
cmd-line-utils/libedit/histedit.h
View file @
7cac9695
...
...
@@ -247,15 +247,6 @@ int tok_str(Tokenizer *, const char *,
/*
* Begin Wide Character Support
*/
#ifdef __linux__
/* Apparently we need _GNU_SOURCE defined to get access to wcsdup on Linux */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#include <wchar.h>
#include <wctype.h>
/*
* Wide character versions
...
...
cmd-line-utils/libedit/refresh.c
View file @
7cac9695
...
...
@@ -40,8 +40,6 @@ static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93";
#endif
#endif
/* not lint && not SCCSID */
#include "chartype.c"
/* XXXMYSQL */
/*
* refresh.c: Lower level screen refreshing functions
*/
...
...
cmd-line-utils/libedit/sys.h
View file @
7cac9695
...
...
@@ -92,8 +92,21 @@ size_t strlcpy(char *dst, const char *src, size_t size);
char
*
fgetln
(
FILE
*
fp
,
size_t
*
len
);
#endif
#ifndef HAVE_WCSDUP
#ifdef __linux__
/* Apparently we need _GNU_SOURCE defined to get access to wcsdup on Linux */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#endif
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#include <wchar.h>
#include <wctype.h>
#ifndef HAVE_WCSDUP
wchar_t
*
wcsdup
(
const
wchar_t
*
);
#endif
...
...
cmd-line-utils/libedit/terminal.c
View file @
7cac9695
...
...
@@ -636,9 +636,6 @@ terminal_move_to_char(EditLine *el, int where)
el
->
el_cursor
.
h
=
where
;
/* now where is here */
}
#ifdef WIDECHAR
int
wcwidth
(
wchar_t
);
// Signature.
#endif
/* terminal_overwrite():
* Overstrike num characters
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment