# HG changeset patch # User Michael Albinus # Date 1192963996 0 # Node ID b31c7731df51c2bd716625bcdac5a5c20c1866c6 # Parent bc97f31b2cf16695fb77fa85a352931248ec073d * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. diff -r bc97f31b2cf1 -r b31c7731df51 src/ChangeLog --- a/src/ChangeLog Sun Oct 21 10:48:28 2007 +0000 +++ b/src/ChangeLog Sun Oct 21 10:53:16 2007 +0000 @@ -1,3 +1,7 @@ +2007-10-21 Michael Albinus + + * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. + 2007-10-20 Juanma Barranquero * doc.c (Fdocumentation): Check for advice in all cases. diff -r bc97f31b2cf1 -r b31c7731df51 src/fileio.c --- a/src/fileio.c Sun Oct 21 10:48:28 2007 +0000 +++ b/src/fileio.c Sun Oct 21 10:53:16 2007 +0000 @@ -2465,8 +2465,8 @@ if (NILP (handler)) handler = Ffind_file_name_handler (newname, Qcopy_file); if (!NILP (handler)) - RETURN_UNGCPRO (call5 (handler, Qcopy_file, file, newname, - ok_if_already_exists, keep_time)); + RETURN_UNGCPRO (call6 (handler, Qcopy_file, file, newname, + ok_if_already_exists, keep_time, preserve_uid_gid)); encoded_file = ENCODE_FILE (file); encoded_newname = ENCODE_FILE (newname); @@ -4738,8 +4738,8 @@ int opoint_byte = PT_BYTE; int oinserted = ZV - BEGV; int ochars_modiff = CHARS_MODIFF; - - TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE); + + TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE); insval = call3 (Qformat_decode, Qnil, make_number (oinserted), visit); CHECK_NUMBER (insval); @@ -4775,7 +4775,7 @@ int opoint_byte = PT_BYTE; int oinserted = ZV - BEGV; int ochars_modiff = CHARS_MODIFF; - + TEMP_SET_PT_BOTH (BEGV, BEGV_BYTE); insval = call1 (XCAR (p), make_number (oinserted)); if (!NILP (insval))