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
faf9d4e9
Commit
faf9d4e9
authored
Nov 09, 2007
by
tsmith@ramayana.hindu.god
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows build problems.
parent
30b56973
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
libmysql/CMakeLists.txt
libmysql/CMakeLists.txt
+1
-1
mysys/default.c
mysys/default.c
+7
-7
No files found.
libmysql/CMakeLists.txt
View file @
faf9d4e9
...
@@ -74,7 +74,7 @@ SET(CLIENT_SOURCES ../mysys/array.c ../strings/bchange.c ../strings/bmove.c
...
@@ -74,7 +74,7 @@ SET(CLIENT_SOURCES ../mysys/array.c ../strings/bchange.c ../strings/bmove.c
../mysys/hash.c ../mysys/my_sleep.c ../mysys/default_modify.c
../mysys/hash.c ../mysys/my_sleep.c ../mysys/default_modify.c
get_password.c ../strings/int2str.c ../strings/is_prefix.c
get_password.c ../strings/int2str.c ../strings/is_prefix.c
libmysql.c ../mysys/list.c ../strings/llstr.c
libmysql.c ../mysys/list.c ../strings/llstr.c
../strings/longlong2str.c manager.c ../mysys/mf_
cache.c
../strings/longlong2str.c manager.c ../mysys/mf_
arr_appstr.c ../mysys/mf_cache.c
../mysys/mf_dirname.c ../mysys/mf_fn_ext.c ../mysys/mf_format.c
../mysys/mf_dirname.c ../mysys/mf_fn_ext.c ../mysys/mf_format.c
../mysys/mf_iocache.c ../mysys/mf_iocache2.c ../mysys/mf_loadpath.c
../mysys/mf_iocache.c ../mysys/mf_iocache2.c ../mysys/mf_loadpath.c
../mysys/mf_pack.c ../mysys/mf_path.c ../mysys/mf_tempfile.c ../mysys/mf_unixpath.c
../mysys/mf_pack.c ../mysys/mf_path.c ../mysys/mf_tempfile.c ../mysys/mf_unixpath.c
...
...
mysys/default.c
View file @
faf9d4e9
...
@@ -997,14 +997,14 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
...
@@ -997,14 +997,14 @@ static uint my_get_system_windows_directory(char *buffer, uint size)
static
void
init_default_directories_win
()
static
void
init_default_directories_win
()
{
{
bzero
(
default_directories
,
sizeof
(
default_directories
));
bzero
(
(
char
*
)
default_directories
,
sizeof
(
default_directories
));
if
(
my_get_system_windows_directory
(
shared_system_dir
,
if
(
my_get_system_windows_directory
(
shared_system_dir
,
sizeof
(
shared_system_dir
)))
sizeof
(
shared_system_dir
)))
ADD_DIRECTORY
(
&
shared_system_dir
);
ADD_DIRECTORY
(
shared_system_dir
);
if
(
GetWindowsDirectory
(
system_dir
,
sizeof
(
system_dir
)))
if
(
GetWindowsDirectory
(
system_dir
,
sizeof
(
system_dir
)))
ADD_DIRECTORY
(
&
system_dir
);
ADD_DIRECTORY
(
system_dir
);
ADD_DIRECTORY
(
"C:/"
);
ADD_DIRECTORY
(
"C:/"
);
...
@@ -1037,7 +1037,7 @@ static void init_default_directories_win()
...
@@ -1037,7 +1037,7 @@ static void init_default_directories_win()
last
=
end
;
last
=
end
;
}
}
}
}
ADD_DIRECTORY
(
&
config_dir
);
ADD_DIRECTORY
(
config_dir
);
}
}
ADD_COMMON_DIRECTORIES
();
ADD_COMMON_DIRECTORIES
();
...
@@ -1058,7 +1058,7 @@ static void (*init_default_directories)()= init_default_directories_win;
...
@@ -1058,7 +1058,7 @@ static void (*init_default_directories)()= init_default_directories_win;
static
void
init_default_directories_netware
()
static
void
init_default_directories_netware
()
{
{
bzero
(
default_directories
,
sizeof
(
default_directories
));
bzero
(
(
char
*
)
default_directories
,
sizeof
(
default_directories
));
ADD_DIRECTORY
(
"sys:/etc/"
);
ADD_DIRECTORY
(
"sys:/etc/"
);
ADD_COMMON_DIRECTORIES
();
ADD_COMMON_DIRECTORIES
();
}
}
...
@@ -1081,7 +1081,7 @@ static void init_default_directories_os2()
...
@@ -1081,7 +1081,7 @@ static void init_default_directories_os2()
{
{
const
char
*
env
;
const
char
*
env
;
bzero
(
default_directories
,
sizeof
(
default_directories
));
bzero
(
(
char
*
)
default_directories
,
sizeof
(
default_directories
));
ADD_DIRECTORY
(
"/etc/"
);
ADD_DIRECTORY
(
"/etc/"
);
if
((
env
=
getenv
(
"ETC"
)))
if
((
env
=
getenv
(
"ETC"
)))
ADD_DIRECTORY
(
env
);
ADD_DIRECTORY
(
env
);
...
@@ -1105,7 +1105,7 @@ static void (*init_default_directories)()= init_default_directories_os2;
...
@@ -1105,7 +1105,7 @@ static void (*init_default_directories)()= init_default_directories_os2;
static
void
init_default_directories_unix
()
static
void
init_default_directories_unix
()
{
{
bzero
(
default_directories
,
sizeof
(
default_directories
));
bzero
(
(
char
*
)
default_directories
,
sizeof
(
default_directories
));
ADD_DIRECTORY
(
"/etc/"
);
ADD_DIRECTORY
(
"/etc/"
);
#ifdef DEFAULT_SYSCONFDIR
#ifdef DEFAULT_SYSCONFDIR
if
(
DEFAULT_SYSCONFDIR
!=
""
)
if
(
DEFAULT_SYSCONFDIR
!=
""
)
...
...
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