diff options
author | serg@serg.mylan <> | 2004-08-19 13:07:54 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-08-19 13:07:54 +0200 |
commit | dd3db08be3ffa7edb0bda4361acf89b57950a4fd (patch) | |
tree | 41c135ede4253097a7365b222f98314629b1a1e4 /mysys/mf_tempfile.c | |
parent | 3360c997aca2a4c4637991148a6d2c7208b04e07 (diff) | |
download | mariadb-git-dd3db08be3ffa7edb0bda4361acf89b57950a4fd.tar.gz |
typos fixed
Diffstat (limited to 'mysys/mf_tempfile.c')
-rw-r--r-- | mysys/mf_tempfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/mf_tempfile.c b/mysys/mf_tempfile.c index ea2bec076d4..ca9912d9210 100644 --- a/mysys/mf_tempfile.c +++ b/mysys/mf_tempfile.c @@ -98,7 +98,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix, if (strlen(dir)+ pfx_len > FN_REFLEN-2) { errno=my_errno= ENAMETOOLONG; - return 1; + DBUG_RETURN(file); } strmov(convert_dirname(to,dir,NullS),prefix_buff); org_file=mkstemp(to); @@ -124,7 +124,7 @@ File create_temp_file(char *to, const char *dir, const char *prefix, #ifdef OS2 /* changing environ variable doesn't work with VACPP */ char buffer[256], *end; - buffer[sizeof[buffer)-1]= 0; + buffer[sizeof(buffer)-1]= 0; end= strxnmov(buffer, sizeof(buffer)-1, (char*) "TMP=", dir, NullS); /* remove ending backslash */ if (end[-1] == '\\') |