summaryrefslogtreecommitdiff
path: root/mysys/mf_tempdir.c
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 /mysys/mf_tempdir.c
parent8388a57a96c42cc69776f17d2b3d7766e00bd41c (diff)
downloadmariadb-git-056a678d1a975d85ae0c43717aae09126fbcbef3.tar.gz
in netware ':' is also a valid path character
Diffstat (limited to 'mysys/mf_tempdir.c')
-rw-r--r--mysys/mf_tempdir.c4
1 files changed, 2 insertions, 2 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)