aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorPaul Eggert2011-07-16 17:37:57 -0700
committerPaul Eggert2011-07-16 17:37:57 -0700
commit4f8a4547454e24304b4182fbf4ae4b34a7bdc92b (patch)
treed03d6d6cdd4b10a62633ed5f9da42d60dac016d0 /src/fileio.c
parentf0eb61e99dce9005dc94c909046f6130b3d4a97c (diff)
parent64a465b2d97d00f27ed74513047ced07b798b9fd (diff)
downloademacs-4f8a4547454e24304b4182fbf4ae4b34a7bdc92b.tar.gz
emacs-4f8a4547454e24304b4182fbf4ae4b34a7bdc92b.zip
Merge from trunk.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index d4fb0383119..c67bea79bd3 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1959,8 +1959,8 @@ on the system, we copy the SELinux context of FILE to NEWNAME. */)
1959 owner and group. */ 1959 owner and group. */
1960 if (input_file_statable_p) 1960 if (input_file_statable_p)
1961 { 1961 {
1962 if (!NILP (preserve_uid_gid) && fchown (ofd, st.st_uid, st.st_gid) != 0) 1962 if (!NILP (preserve_uid_gid))
1963 report_file_error ("Doing chown", Fcons (newname, Qnil)); 1963 fchown (ofd, st.st_uid, st.st_gid);
1964 if (fchmod (ofd, st.st_mode & 07777) != 0) 1964 if (fchmod (ofd, st.st_mode & 07777) != 0)
1965 report_file_error ("Doing chmod", Fcons (newname, Qnil)); 1965 report_file_error ("Doing chmod", Fcons (newname, Qnil));
1966 } 1966 }