]> granicus.if.org Git - sudo/commit
Use utimes() and futimes() instead of utime() in touch(), emulating as needed.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Sep 2004 17:14:52 +0000 (17:14 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 7 Sep 2004 17:14:52 +0000 (17:14 +0000)
commit1c20ff1a6da5543187e1e85e58258fcbd565ccb3
treeabd5c7577faae67cc8e54da7a7b789d8f547340e
parent03b53b69113671c67bab3d39990f7f16473e4c68
Use utimes() and futimes() instead of utime() in touch(), emulating as needed.
Not all systems are able to support setting the times of an fd so touch()
takes both an fd and a file name as arguments.
12 files changed:
Makefile.in
aclocal.m4
check.c
compat.h
config.h.in
configure
configure.in
fileops.c
sudo.h
sudo_edit.c
utimes.c [moved from utime.c with 57% similarity]
visudo.c