diff options
author | unknown <msvensson@pilot.blaudden> | 2007-03-23 11:01:47 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.blaudden> | 2007-03-23 11:01:47 +0100 |
commit | 2188de4fdd7f452e06114d12d5628d68f6d1eba5 (patch) | |
tree | f97ccf8d0efcbd94b2aed52124e95c863b8bedce /sql-common | |
parent | d6bd171fd2ecf9a58c2dcd3f34b9b248c7ac62ba (diff) | |
download | mariadb-git-2188de4fdd7f452e06114d12d5628d68f6d1eba5.tar.gz |
Bug#26233 very suspect code in mf_tempfile.c, in function create_temp_file()
- Rework the windows implementation in 'create_temp_file' to be
thread safe by using GetTempFileName instad of fiddling
with "environ"
mysys/mf_tempfile.c:
- Update windows implementation of 'create_temp_file' to use
GetTempFileName in favor of fiddeling with "environ" in an unsafe way
- Remove the implementation that is supposed to be used if not
windows, not mkstemp or tmpnam exists as it not longer compiles it
can't be used anywhere.
- Update function comment for 'create_temp_file'
mysys/my_static.c:
Remove unused variable
mysys/my_static.h:
Remove unused variable
Diffstat (limited to 'sql-common')
0 files changed, 0 insertions, 0 deletions