]> git.eshelyaron.com Git - emacs.git/commit
* fileio.c: Report proper errno when syscall falls.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Sep 2011 08:34:09 +0000 (01:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Sep 2011 08:34:09 +0000 (01:34 -0700)
commite5e9d610c9b435b9053bec512957c872b8fc031c
tree8a09d838c6027d13dbe4132d38ddb12091705c1a
parent5d5ac8ec033a741c6931ef874ac4c4caa0a9359c
* fileio.c: Report proper errno when syscall falls.

(Finsert_file_contents): Save and restore errno,
so that report_file_error outputs the correct diagnostic.
(Fwrite_region) [CLASH_DETECTION]: Likewise.
src/ChangeLog
src/fileio.c