Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.545 emacs/src/fileio.c:1.546
*** emacs/src/fileio.c:1.545 Thu Jun 23 21:29:26 2005
--- emacs/src/fileio.c Fri Jun 24 09:03:21 2005
***************
*** 2789,2797 ****
--- 2789,2799 ----
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);
}
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs