[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c |
Date: |
Fri, 24 Jun 2005 05:03:21 -0400 |
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);
}