summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authorgreg@mysql.com <>2003-03-21 16:45:39 -0500
committergreg@mysql.com <>2003-03-21 16:45:39 -0500
commit67985efed5369bf88987781754931ee162e1d2f3 (patch)
tree6204247b50ae737bead82de5fdfbc3bdd63689b1 /mysys/my_init.c
parent61cb6925070ec80b4e7bb101c76b21ad11f10f11 (diff)
downloadmariadb-git-67985efed5369bf88987781754931ee162e1d2f3.tar.gz
Post-4.0.12 changes from Novell: mostly NetWare-related code changes to utilize new LibC
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__ */