diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-15 08:17:56 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-15 08:17:56 -0300 |
commit | bdab1de458317c2dc7074eb54cec908ca320272e (patch) | |
tree | 3aa253051eb3b21b8922b119547ba34b3aa746a3 /mysys/mf_tempfile.c | |
parent | 13f7a1d2447c002adc36dd1bd51305edbc8e8636 (diff) | |
download | mariadb-git-bdab1de458317c2dc7074eb54cec908ca320272e.tar.gz |
WL#5486: Remove code for unsupported platforms
Remove Zortech specific code.
Diffstat (limited to 'mysys/mf_tempfile.c')
-rw-r--r-- | mysys/mf_tempfile.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c index b5933dcc317..e85124fb4c3 100644 --- a/mysys/mf_tempfile.c +++ b/mysys/mf_tempfile.c @@ -100,15 +100,6 @@ File create_temp_file(char *to, const char *dir, const char *prefix, my_errno= tmp; } -#elif defined(_ZTC__) - if (!dir) - dir=getenv("TMPDIR"); - if ((res=tempnam((char*) dir,(char *) prefix))) - { - strmake(to,res,FN_REFLEN-1); - (*free)(res); - file=my_create(to, 0, mode | O_EXCL | O_NOFOLLOW, MyFlags); - } #elif defined(HAVE_MKSTEMP) { char prefix_buff[30]; |