summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-06-24 10:40:33 +0000
committerEli Zaretskii <eliz@gnu.org>2005-06-24 10:40:33 +0000
commitd2813eb4f3fd9d1fd6beabfb191c5dce315ce726 (patch)
tree63c3b12136fc2305e4eb89bf8eb30e0649701ae8 /src
parent46421458e5152b0ceb20dcadf4c6b92ae779a0a1 (diff)
downloademacs-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.c2
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);
}