diff options
| author | Paul Eggert | 2013-01-19 01:59:51 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-19 01:59:51 -0800 |
| commit | b3fbb3956cda29770670ac02d04804cee0c74f86 (patch) | |
| tree | e9031a92a7f186ee6c7db5bdab9864697d9e25e1 /src/ChangeLog | |
| parent | 73c1421878b3ce4ac6fdb2b0133fda7522578a29 (diff) | |
| download | emacs-b3fbb3956cda29770670ac02d04804cee0c74f86.tar.gz emacs-b3fbb3956cda29770670ac02d04804cee0c74f86.zip | |
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.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4bee4fc5ed7..c6bd70e2a04 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2013-01-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Allow floating-point file offsets. | ||
| 4 | Problem reported by Vitalie Spinu in | ||
| 5 | <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00411.html>. | ||
| 6 | * fileio.c (emacs_lseek): Remove. | ||
| 7 | (file_offset): New function. | ||
| 8 | (Finsert_file_contents, Fwrite_region): Use it. | ||
| 9 | |||
| 1 | 2013-01-19 Chong Yidong <cyd@gnu.org> | 10 | 2013-01-19 Chong Yidong <cyd@gnu.org> |
| 2 | 11 | ||
| 3 | * emacs.c (Fkill_emacs): Set waiting_for_input to 0 to avoid | 12 | * emacs.c (Fkill_emacs): Set waiting_for_input to 0 to avoid |