diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-10-05 11:17:17 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-10-05 11:17:17 +0200 |
commit | 0d9f584b2c2a816670a22948615d7e0a5b93fc10 (patch) | |
tree | f980325890f384eb4741d047e9796c8f04fc355d /lisp/emacs-lisp/benchmark.el | |
parent | 379acb951495d947ff42da6fc79b39f2e5f2f623 (diff) | |
download | emacs-0d9f584b2c2a816670a22948615d7e0a5b93fc10.tar.gz emacs-0d9f584b2c2a816670a22948615d7e0a5b93fc10.tar.bz2 emacs-0d9f584b2c2a816670a22948615d7e0a5b93fc10.zip |
Support setting file times of directories on MS-Windows.
src/w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so
that time stamps of directories could also be changed. Don't
request the too broad GENERIC_WRITE, only the more restrictive
FILE_WRITE_ATTRIBUTES access rights.
src/fileio.c (Fset_file_times): Special-case ignoring errors for
directories only on MSDOS, not on MS-Windows.
Diffstat (limited to 'lisp/emacs-lisp/benchmark.el')
0 files changed, 0 insertions, 0 deletions