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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
65919873
Commit
65919873
authored
Jun 07, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.(none):/data/msvensson/mysql/bug10218/my41-bug10218
into pilot.(none):/data/msvensson/mysql/mysql-4.1-maint
parents
9317cd4c
5df79044
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
cmd-line-utils/libedit/el_term.h
cmd-line-utils/libedit/el_term.h
+10
-0
configure.in
configure.in
+13
-0
No files found.
cmd-line-utils/libedit/el_term.h
View file @
65919873
...
...
@@ -90,6 +90,16 @@ extern char* tgoto(const char*, int, int);
extern
char
*
tgetstr
(
char
*
,
char
**
);
#endif
#if !HAVE_DECL_TGOTO
/*
'tgoto' is not declared in the system header files, this causes
problems on 64-bit systems. The function returns a 64 bit pointer
but caller see it as "int" and it's thus truncated to 32-bit
*/
extern
char
*
tgoto
(
const
char
*
,
int
,
int
);
#endif
protected
void
term_move_to_line
(
EditLine
*
,
int
);
protected
void
term_move_to_char
(
EditLine
*
,
int
);
protected
void
term_clear_EOL
(
EditLine
*
,
int
);
...
...
configure.in
View file @
65919873
...
...
@@ -1954,6 +1954,19 @@ else
fi
AC_SUBST
(
TERMCAP_LIB
)
# Check if the termcap function 'tgoto' is already declared in
# system header files or if it need to be declared locally
AC_CHECK_DECLS
(
tgoto,,,[
#ifdef HAVE_CURSES_H
# include <curses.h>
#elif HAVE_NCURSES_H
# include <ncurses.h>
#endif
#ifdef HAVE_TERM_H
# include <term.h>
#endif
])
LIBEDIT_LOBJECTS
=
""
AC_CHECK_FUNC
(
strunvis, ,[LIBEDIT_LOBJECTS
=
"
$LIBEDIT_LOBJECTS
unvis.o"
])
AC_CHECK_FUNC
(
strvis, ,[LIBEDIT_LOBJECTS
=
"
$LIBEDIT_LOBJECTS
vis.o"
])
...
...
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