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
ab9c6bec
Commit
ab9c6bec
authored
Jul 02, 2008
by
Timothy Smith
Browse files
Options
Browse Files
Download
Plain Diff
Up-merge syntax fix from 5.0-bugteam.
parents
b2c852d8
bbdcf6ca
Changes
1
Show 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 @
ab9c6bec
...
@@ -1024,10 +1024,12 @@ static size_t my_get_system_windows_directory(char *buffer, size_t size)
...
@@ -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
)
static
const
char
*
my_get_module_parent
(
char
*
buf
,
size_t
size
)
{
{
char
*
last
=
NULL
;
char
*
end
;
if
(
!
GetModuleFileName
(
NULL
,
buf
,
size
))
if
(
!
GetModuleFileName
(
NULL
,
buf
,
size
))
return
NULL
;
return
NULL
;
end
=
strend
(
buf
);
char
*
last
=
NULL
,
*
end
=
strend
(
buf
);
/*
/*
Look for the second-to-last \ in the filename, but hang on
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
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