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
1658d737
Commit
1658d737
authored
Apr 19, 2005
by
jani@a193-229-222-105.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Bug#6593, "Inconsistency in handling option prefixes (--skip, --disable, etc.)"
parent
969263cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mysys/my_getopt.c
mysys/my_getopt.c
+2
-1
No files found.
mysys/my_getopt.c
View file @
1658d737
...
@@ -205,7 +205,8 @@ int handle_options(int *argc, char ***argv,
...
@@ -205,7 +205,8 @@ int handle_options(int *argc, char ***argv,
{
{
if
(
!
getopt_compare_strings
(
special_opt_prefix
[
i
],
opt_str
,
if
(
!
getopt_compare_strings
(
special_opt_prefix
[
i
],
opt_str
,
special_opt_prefix_lengths
[
i
])
&&
special_opt_prefix_lengths
[
i
])
&&
opt_str
[
special_opt_prefix_lengths
[
i
]]
==
'-'
)
(
opt_str
[
special_opt_prefix_lengths
[
i
]]
==
'-'
||
opt_str
[
special_opt_prefix_lengths
[
i
]]
==
'_'
))
{
{
/*
/*
We were called with a special prefix, we can reuse opt_found
We were called with a special prefix, we can reuse opt_found
...
...
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