* fileio.c: Don't assume EMACS_INT fits in off_t.
commite69dafade3ccd5c2997a3f6fd6c7bea29e75ad8e
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Jun 2011 01:07:35 +0000 (14 18:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Jun 2011 01:07:35 +0000 (14 18:07 -0700)
treefafd4097ed5744e11298b381b7e51a41cbad2580
parent566684ead5a577f6b2506f242494f2fa57eb5a49
* fileio.c: Don't assume EMACS_INT fits in off_t.

(emacs_lseek): New static function.
(Finsert_file_contents, Fwrite_region): Use it.
Use SEEK_SET, SEEK_CUR, SEEK_END as appropriate.
src/ChangeLog
src/fileio.c