summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-24 23:15:38 +0100
committerunknown <serg@serg.mylan>2004-02-24 23:15:38 +0100
commit056a678d1a975d85ae0c43717aae09126fbcbef3 (patch)
treeff91df509de356d9135502c1f8724c1599885239
parent8388a57a96c42cc69776f17d2b3d7766e00bd41c (diff)
downloadmariadb-git-056a678d1a975d85ae0c43717aae09126fbcbef3.tar.gz
in netware ':' is also a valid path character
-rw-r--r--mysys/mf_tempdir.c4
-rw-r--r--sql/mysqld.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/mysys/mf_tempdir.c b/mysys/mf_tempdir.c
index 1ae034af67d..4d244aa7d74 100644
--- a/mysys/mf_tempdir.c
+++ b/mysys/mf_tempdir.c
@@ -17,7 +17,7 @@
#include "mysys_priv.h"
#include <m_string.h>
-#if defined( __WIN__) || defined(OS2)
+#if defined( __WIN__) || defined(OS2) || defined(__NETWARE__)
#define DELIM ';'
#else
#define DELIM ':'
@@ -35,7 +35,7 @@ my_bool init_tmpdir(MY_TMPDIR *tmpdir, const char *pathlist)
{
/* Get default temporary directory */
pathlist=getenv("TMPDIR"); /* Use this if possible */
-#if defined( __WIN__) || defined(OS2)
+#if defined( __WIN__) || defined(OS2) || defined(__NETWARE__)
if (!pathlist)
pathlist=getenv("TEMP");
if (!pathlist)
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 2bd4480e0bc..b153edd120e 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -4180,7 +4180,7 @@ replicating a LOAD DATA INFILE command.",
0, 0, 0, 0, 0},
{"tmpdir", 't',
"Path for temporary files. Several paths may be specified, separated by a "
-#if defined( __WIN__) || defined(OS2)
+#if defined( __WIN__) || defined(OS2) || defined(__NETWARE__)
"semicolon (;)"
#else
"colon (:)"