diff lib/copy-file.c @ 4268:4933582b32c1

Portability to Woe32.
author Bruno Haible <bruno@clisp.org>
date Sun, 30 Mar 2003 16:20:41 +0000
parents f9ad295c45bb
children 38cad811ac67
line wrap: on
line diff
--- a/lib/copy-file.c
+++ b/lib/copy-file.c
@@ -108,8 +108,10 @@
   }
 #endif
 
+#if HAVE_CHOWN
   /* Preserve the owner and group.  */
   chown (dest_filename, statbuf.st_uid, statbuf.st_gid);
+#endif
 
   /* Preserve the access permissions.  */
   chmod (dest_filename, mode);