]> git.eshelyaron.com Git - emacs.git/commit
* fileio.c (Fcopy_file): Pacify gcc re fchown. (Bug#9002)
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 17 Jul 2011 01:18:51 +0000 (18:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 17 Jul 2011 01:18:51 +0000 (18:18 -0700)
commit9e381cdd9641fa07e9caa09b783db8d5f84f1651
treea2c6d0fee2c4909c8176ce46226ffef96bd60113
parent4e190b801d917b3c5080442c1daba38020c3fe8c
* fileio.c (Fcopy_file): Pacify gcc re fchown.  (Bug#9002)

This works around a problem with the previous change to Fcopy_file.
Recent glibc declares fchown with __attribute__((warn_unused_result)),
and without this change, GCC might complain about discarding
fchown's return value.
src/ChangeLog
src/fileio.c