diff options
| author | Paul Eggert | 2011-07-16 17:37:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-16 17:37:57 -0700 |
| commit | 4f8a4547454e24304b4182fbf4ae4b34a7bdc92b (patch) | |
| tree | d03d6d6cdd4b10a62633ed5f9da42d60dac016d0 /src/fileio.c | |
| parent | f0eb61e99dce9005dc94c909046f6130b3d4a97c (diff) | |
| parent | 64a465b2d97d00f27ed74513047ced07b798b9fd (diff) | |
| download | emacs-4f8a4547454e24304b4182fbf4ae4b34a7bdc92b.tar.gz emacs-4f8a4547454e24304b4182fbf4ae4b34a7bdc92b.zip | |
Merge from trunk.
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 4 |
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 | } |