summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authorunknown <greg@mysql.com>2003-03-21 16:45:39 -0500
committerunknown <greg@mysql.com>2003-03-21 16:45:39 -0500
commiteed27593a41c2c85e8f202b7c1d06c155ce08cf8 (patch)
tree6204247b50ae737bead82de5fdfbc3bdd63689b1 /mysys/my_init.c
parent6700627926c42015f3420152b7149a961722a191 (diff)
downloadmariadb-git-eed27593a41c2c85e8f202b7c1d06c155ce08cf8.tar.gz
Post-4.0.12 changes from Novell: mostly NetWare-related code changes to utilize new LibC
client/mysql.cc: Remove unnecessary pthread_yield calls for NetWare client/mysqldump.c: Remove unnecessary pthread_yield calls for NetWare include/my_pthread.h: Special extern my_pthread_cond_timedwait no longer required for NetWare mysql-test/t/backup.test: replace_result added so test passes correctly on NetWare mysys/default.c: Add conditional to avoid non-applicable file checking on NetWare mysys/my_init.c: Remove working directory change from netware_init() mysys/my_pthread.c: Remove unnecessary NetWare version of my_pthread_cond_timedwait mysys/thr_mutex.c: Remove unnecessary NetWare block scripts/make_binary_distribution.sh: Changes to clear up extraneous EXTRA_BIN_FILES, NetWare sections
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r--mysys/my_init.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 61d9f4a4b2b..a8a184a2cb4 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -381,23 +381,13 @@ static void netware_init()
{
if (*name == '\\')
{
- *name = '/';
+ *name = '/';
}
else
{
- *name = tolower(*name);
+ *name = tolower(*name);
}
}
- /*
- Set the current working directory to the base directory of the file
- name (assuming the binary is in 'base-file-name/bin/'
- */
- strmov(cwd, my_progname);
- if ((name= strindex(cwd, "/bin/")) != NULL)
- {
- *name= 0;
- chdir(cwd);
- }
}
}
#endif /* __NETWARE__ */