]> git.eshelyaron.com Git - emacs.git/commit
Allow floating-point file offsets.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Jan 2013 09:59:51 +0000 (01:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Jan 2013 09:59:51 +0000 (01:59 -0800)
commitb3fbb3956cda29770670ac02d04804cee0c74f86
treee9031a92a7f186ee6c7db5bdab9864697d9e25e1
parent73c1421878b3ce4ac6fdb2b0133fda7522578a29
Allow floating-point file offsets.

Problem reported by Vitalie Spinu in
<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00411.html>.
* doc/lispref/files.texi (Reading from Files, Writing to Files):
Say that file offsets can be numbers, not just integers.
* src/fileio.c (emacs_lseek): Remove.
(file_offset): New function.
(Finsert_file_contents, Fwrite_region): Use it.
doc/lispref/ChangeLog
doc/lispref/files.texi
src/ChangeLog
src/fileio.c