diff options
author | greg@mysql.com <> | 2003-03-21 16:45:39 -0500 |
---|---|---|
committer | greg@mysql.com <> | 2003-03-21 16:45:39 -0500 |
commit | 67985efed5369bf88987781754931ee162e1d2f3 (patch) | |
tree | 6204247b50ae737bead82de5fdfbc3bdd63689b1 /mysys/my_init.c | |
parent | 61cb6925070ec80b4e7bb101c76b21ad11f10f11 (diff) | |
download | mariadb-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.c | 14 |
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__ */ |