changeset 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 19486c46b17e
children 5b83b5c280a5
files src/fileio.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
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);
 	}