chown on DOS_NT platforms.
+2005-06-24 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (Frename_file): Undo last change: no need to ifdef away
+ chown on DOS_NT platforms.
+
+ * w32.c (sys_chown): New function.
+
+ * s/ms-w32.h (chown): New; define to sys_chown.
+
2005-06-24 Juanma Barranquero <lekktu@gmail.com>
* xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix.
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);
}