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
b921e93f
Commit
b921e93f
authored
Nov 05, 2009
by
Magne Mahre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile error on HP/UX.
SIGWINCH is not defined in termios.h on HP/UX.
parent
6eb797f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
client/mysql.cc
client/mysql.cc
+3
-3
No files found.
client/mysql.cc
View file @
b921e93f
...
...
@@ -1069,7 +1069,7 @@ static void mysql_end_timer(ulong start_time,char *buff);
static
void
nice_time
(
double
sec
,
char
*
buff
,
bool
part_second
);
extern
"C"
sig_handler
mysql_end
(
int
sig
);
extern
"C"
sig_handler
handle_sigint
(
int
sig
);
#if defined(HAVE_TERMIOS_H)
#if defined(HAVE_TERMIOS_H)
&& defined(GWINSZ_IN_SYS_IOCTL)
static
sig_handler
window_resize
(
int
sig
);
#endif
...
...
@@ -1165,7 +1165,7 @@ int main(int argc,char *argv[])
signal
(
SIGINT
,
handle_sigint
);
// Catch SIGINT to clean up
signal
(
SIGQUIT
,
mysql_end
);
// Catch SIGQUIT to clean up
#if defined(HAVE_TERMIOS_H)
#if defined(HAVE_TERMIOS_H)
&& defined(GWINSZ_IN_SYS_IOCTL)
/* Readline will call this if it installs a handler */
signal
(
SIGWINCH
,
window_resize
);
/* call the SIGWINCH handler to get the default term width */
...
...
@@ -1330,7 +1330,7 @@ sig_handler handle_sigint(int sig)
}
#if defined(HAVE_TERMIOS_H)
#if defined(HAVE_TERMIOS_H)
&& defined(GWINSZ_IN_SYS_IOCTL)
sig_handler
window_resize
(
int
sig
)
{
struct
winsize
window_size
;
...
...
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