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
52d17540
Commit
52d17540
authored
Jul 02, 2008
by
Timothy Smith
Browse files
Options
Browse Files
Download
Plain Diff
Up-merge syntax fix from 5.0-bugteam.
parents
ec73d940
5647bce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mysys/default.c
mysys/default.c
+3
-1
No files found.
mysys/default.c
View file @
52d17540
...
...
@@ -1024,10 +1024,12 @@ static size_t my_get_system_windows_directory(char *buffer, size_t size)
static
const
char
*
my_get_module_parent
(
char
*
buf
,
size_t
size
)
{
char
*
last
=
NULL
;
char
*
end
;
if
(
!
GetModuleFileName
(
NULL
,
buf
,
size
))
return
NULL
;
end
=
strend
(
buf
);
char
*
last
=
NULL
,
*
end
=
strend
(
buf
);
/*
Look for the second-to-last \ in the filename, but hang on
to a pointer after the last \ in case we're in the root of
...
...
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