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
1ac66e67
Commit
1ac66e67
authored
Jan 30, 2004
by
greg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/bk/mysql-4.0
parents
4578f222
e845a668
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
Build-tools/Do-win-build
Build-tools/Do-win-build
+7
-4
libmysql/libmysql.c
libmysql/libmysql.c
+1
-1
No files found.
Build-tools/Do-win-build
View file @
1ac66e67
...
...
@@ -22,6 +22,7 @@ if (!$opt_builddir) {
$opt_tarball
=~
/(mysql[^\/]*)-win-src\.tar/
;
$mysqlver
=
$1
;
$basedir
=
"
$opt_builddir
/
$mysqlver
";
$scriptdir
=
`
pwd
`;
# Make sure build dir exists
mkdir
(
$opt_builddir
);
...
...
@@ -47,6 +48,8 @@ chdir($mysqlver);
system
("
\"
$MSDEV
\"
mysql.dsw /MAKE
\"
ALL
\"
/OUT
$mysqlver
-build.log
");
system
("
cp
$mysqlver
-build.log
$scriptdir
");
#
# Print a help text message
#
...
...
@@ -55,10 +58,10 @@ sub print_help
print
<<EOF;
Usage: Do-compile-win [options] source-tarball
Unpacks a Windows source distribution on the local machine and
Unpacks a Windows source distribution on the local machine and
compiles it using VC++ 6.0.
This script is intended for Cygwin Perl. You must have a working
This script is intended for Cygwin Perl. You must have a working
MSDEV.EXE in your path for compilation.
...
...
@@ -68,8 +71,8 @@ Options:
Print this text.
--builddir=<dir>
Set the Cygwin path to build under; the tarball will actually
be moved to <builddir>/mysql-<version>/tarball and extracted under
Set the Cygwin path to build under; the tarball will actually
be moved to <builddir>/mysql-<version>/tarball and extracted under
<builddir>/mysql-<version>/build.
Default: /cygdrive/c/mysql-win-build
...
...
libmysql/libmysql.c
View file @
1ac66e67
...
...
@@ -585,7 +585,7 @@ char* getlogin(void);
#if defined(__NETWARE__)
/*
default to "root" on NetWare
*/
/*
Default to value of USER on NetWare, if unset use "UNKNOWN_USER"
*/
static
void
read_user_name
(
char
*
name
)
{
char
*
str
=
getenv
(
"USER"
);
...
...
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