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
c1842a98
Commit
c1842a98
authored
Jan 08, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resolving type conflict of BC and UP variables on FreeBSD
parent
30e15bbb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
readline/tcap.h
readline/tcap.h
+1
-1
readline/terminal.c
readline/terminal.c
+5
-5
No files found.
readline/tcap.h
View file @
c1842a98
...
...
@@ -42,7 +42,7 @@
#endif
extern
char
PC
;
extern
const
char
*
UP
,
*
BC
;
extern
const
char
*
UP
c
,
*
BCc
;
extern
short
ospeed
;
...
...
readline/terminal.c
View file @
c1842a98
...
...
@@ -85,7 +85,7 @@ static int tcap_initialized;
extern
# endif
/* __EMX__ || NEED_EXTERN_PC */
char
PC
;
const
char
*
BC
,
*
UP
;
const
char
*
BC
c
,
*
UPc
;
#endif
/* __linux__ */
/* Some strings to control terminal actions. These are output by tputs (). */
...
...
@@ -434,8 +434,8 @@ _rl_init_terminal_io (terminal_name)
tgoto if _rl_term_IC or _rl_term_DC is defined, but just in case we
change that later... */
PC
=
'\0'
;
BC
=
(
char
*
)(
_rl_term_backspace
=
"
\b
"
);
UP
=
(
char
*
)
_rl_term_up
;
BC
c
=
(
char
*
)(
_rl_term_backspace
=
"
\b
"
);
UP
c
=
(
char
*
)
_rl_term_up
;
return
0
;
}
...
...
@@ -445,8 +445,8 @@ _rl_init_terminal_io (terminal_name)
/* Set up the variables that the termcap library expects the application
to provide. */
PC
=
_rl_term_pc
?
*
_rl_term_pc
:
0
;
BC
=
(
char
*
)
_rl_term_backspace
;
UP
=
(
char
*
)
_rl_term_up
;
BC
c
=
(
char
*
)
_rl_term_backspace
;
UP
c
=
(
char
*
)
_rl_term_up
;
if
(
!
_rl_term_cr
)
_rl_term_cr
=
"
\r
"
;
...
...
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