#include sys/file.h
authorKarl Heuer <kwzh@gnu.org>
Fri, 5 Jun 1998 16:08:32 +0000 (16:08 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 5 Jun 1998 16:08:32 +0000 (16:08 +0000)
commitb3308d2eb92b86daf7b97989f2e06ae21406aa76
tree4bfde756ef05fba6c019968dbc73f18e1506003f
parent6cf71bf1f744dae3ec072dffb40434304190db22
#include sys/file.h
(sys_access): Provide our own implementation which recognizes D_OK.
(is_exec): New function.
(stat): Use it.
(init_environment): Set TMPDIR to an existing directory.
Abort if none of the usual places is available.
(sys_rename): On Windows 95, choose a temp name that
includes the original file's base name and use an explicit loop
rather than calling mktemp.  Only attempt to unlink the newname if
the rename fails, rather than second-guessing whether the old and
new names refer to the same file.
src/w32.c