diff options
author | Eli Zaretskii <eliz@gnu.org> | 2005-06-24 10:40:33 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2005-06-24 10:40:33 +0000 |
commit | d2813eb4f3fd9d1fd6beabfb191c5dce315ce726 (patch) | |
tree | 63c3b12136fc2305e4eb89bf8eb30e0649701ae8 /src | |
parent | 46421458e5152b0ceb20dcadf4c6b92ae779a0a1 (diff) | |
download | emacs-d2813eb4f3fd9d1fd6beabfb191c5dce315ce726.tar.gz |
(Frename_file): Undo last change: no need to ifdef away
chown on DOS_NT platforms.
Diffstat (limited to 'src')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 2fb12959786..6bdc030bc6c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2789,11 +2789,9 @@ This is what happens in interactive use with M-x. */) NILP (ok_if_already_exists) ? Qnil : Qt, Qt, Qnil); -#ifndef DOS_NT /* Preserve owner and group, if possible (if we are root). */ if (stat (SDATA (encoded_file), &data) >= 0) chown (SDATA (encoded_file), data.st_uid, data.st_gid); -#endif Fdelete_file (file); } |