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
381571fd
Commit
381571fd
authored
Oct 28, 2011
by
Karen Langford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch to fix libedit vis.h problem (OSX/FreeBSD)
parent
ff758c8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
cmd-line-utils/libedit/np/unvis.c
cmd-line-utils/libedit/np/unvis.c
+4
-4
cmd-line-utils/libedit/np/vis.c
cmd-line-utils/libedit/np/vis.c
+4
-4
cmd-line-utils/libedit/read.c
cmd-line-utils/libedit/read.c
+1
-1
No files found.
cmd-line-utils/libedit/np/unvis.c
View file @
381571fd
...
...
@@ -50,11 +50,11 @@ static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
#include <stdint.h>
#include <stdio.h>
#include <errno.h>
#ifdef HAVE_VIS_H
#include <vis.h>
#else
/*
XXXMYSQL : Due to different versions of vis.h available,
use the one bundled with libedit.
*/
#include "np/vis.h"
#endif
#ifdef __weak_alias
__weak_alias
(
strnunvisx
,
_strnunvisx
)
...
...
cmd-line-utils/libedit/np/vis.c
View file @
381571fd
...
...
@@ -68,11 +68,11 @@
#include <sys/types.h>
#include <assert.h>
#ifdef HAVE_VIS_H
#include <vis.h>
#else
/*
XXXMYSQL : Due to different versions of vis.h available,
use the one bundled with libedit.
*/
#include "np/vis.h"
#endif
#include <errno.h>
#include <stdlib.h>
...
...
cmd-line-utils/libedit/read.c
View file @
381571fd
...
...
@@ -333,7 +333,7 @@ memset(&state, 0, sizeof(mbstate_t));
#ifdef WIDECHAR
++
cbp
;
if
(
cbp
>
MB_CUR_MAX
)
{
/* "shouldn't happen" */
if
(
cbp
>
(
size_t
)
MB_CUR_MAX
)
{
/* "shouldn't happen" */
*
cp
=
'\0'
;
return
(
-
1
);
}
...
...
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