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
6cd2eaee
Commit
6cd2eaee
authored
Jan 08, 2003
by
jani@hynda.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a couple of bugs.
parent
4af985f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
extra/mysql_waitpid.c
extra/mysql_waitpid.c
+5
-5
No files found.
extra/mysql_waitpid.c
View file @
6cd2eaee
...
...
@@ -5,9 +5,9 @@
#include <my_global.h>
#include <my_getopt.h>
static
const
char
*
VER
=
"1.
0
"
;
static
const
char
*
VER
=
"1.
1
"
;
static
char
*
progname
;
static
int
verbose
=
0
;
static
my_bool
verbose
;
void
usage
(
void
);
...
...
@@ -18,8 +18,8 @@ static struct my_option my_long_options[] =
{
"help"
,
'I'
,
"Synonym for -?."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"verbose"
,
'v'
,
"Be more verbose. Give a warning, if kill can't handle signal 0."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
"Be more verbose. Give a warning, if kill can't handle signal 0."
,
(
gptr
*
)
&
verbose
,
(
gptr
*
)
&
verbose
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"version"
,
'V'
,
"Print version information and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
0
,
0
,
0
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
}
...
...
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
if
(
!
argv
[
0
]
||
!
argv
[
1
]
||
(
pid
=
atoi
(
argv
[
0
]))
<=
0
||
(
t
=
atoi
(
argv
[
1
]))
<=
0
)
usage
();
for
(;
t
>
=
0
;
t
--
)
for
(;
t
>
0
;
t
--
)
{
if
(
kill
((
pid_t
)
pid
,
sig
))
{
...
...
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