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
0da3a201
Commit
0da3a201
authored
Jul 03, 2008
by
Sven Sandberg
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
d47bf970
ab9c6bec
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 @
0da3a201
...
...
@@ -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