Mercurial > emacs
diff src/fileio.c @ 63745:9e20e451f70f
(Frename_file): Undo last change: no need to ifdef away
chown on DOS_NT platforms.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 24 Jun 2005 10:40:33 +0000 |
parents | f529a14158f8 |
children | acc7aebbc70e |
line wrap: on
line diff
--- a/src/fileio.c Fri Jun 24 10:39:56 2005 +0000 +++ b/src/fileio.c Fri Jun 24 10:40:33 2005 +0000 @@ -2789,11 +2789,9 @@ 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); }