Commit a5b9966c authored by unknown's avatar unknown

Revise Windows build script, correct comment re NetWare in libmysql.c


Build-tools/Do-win-build:
  Copy logfile for pickup by Do-compile-win
libmysql/libmysql.c:
  Comment was previously inaccurate
parent db77cba5
...@@ -22,6 +22,7 @@ if (!$opt_builddir) { ...@@ -22,6 +22,7 @@ if (!$opt_builddir) {
$opt_tarball =~ /(mysql[^\/]*)-win-src\.tar/; $opt_tarball =~ /(mysql[^\/]*)-win-src\.tar/;
$mysqlver=$1; $mysqlver=$1;
$basedir = "$opt_builddir/$mysqlver"; $basedir = "$opt_builddir/$mysqlver";
$scriptdir = `pwd`;
# Make sure build dir exists # Make sure build dir exists
mkdir($opt_builddir); mkdir($opt_builddir);
...@@ -47,6 +48,8 @@ chdir($mysqlver); ...@@ -47,6 +48,8 @@ chdir($mysqlver);
system("\"$MSDEV\" mysql.dsw /MAKE \"ALL\" /OUT $mysqlver-build.log"); system("\"$MSDEV\" mysql.dsw /MAKE \"ALL\" /OUT $mysqlver-build.log");
system("cp $mysqlver-build.log $scriptdir");
# #
# Print a help text message # Print a help text message
# #
......
...@@ -585,7 +585,7 @@ char* getlogin(void); ...@@ -585,7 +585,7 @@ char* getlogin(void);
#if defined(__NETWARE__) #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) static void read_user_name(char *name)
{ {
char *str=getenv("USER"); char *str=getenv("USER");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment