diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c85e0a789ea..a7b8ab7855b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2013-01-18 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Fix crash when inserting data from non-regular files. See | ||
| 4 | http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00406.html | ||
| 5 | for the error description produced by valgrind. | ||
| 6 | * fileio.c (read_non_regular): Rename to read_contents. | ||
| 7 | Free Lisp_Save_Value object used to pass parameters. | ||
| 8 | (read_non_regular_quit): Rename to read_contents_quit. | ||
| 9 | (Finsert_file_contents): Redesign internal file reading loop to adjust | ||
| 10 | gap and end positions after each read and so help make_gap to work | ||
| 11 | properly. Do not signal an I/O error too early and so do not leave | ||
| 12 | not yet decoded characters in a buffer, which was the reason of | ||
| 13 | redisplay crash. Use list2 to build return value. Adjust comments. | ||
| 14 | |||
| 15 | 2013-01-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 16 | |||
| 17 | Close a race when statting and reading files (Bug#13149). | ||
| 18 | * fileio.c (Finsert_file_contents): Use open+fstat, not stat+open. | ||
| 19 | This avoids a race if the file is renamed between stat and open. | ||
| 20 | This race is not the problem originally noted in Bug#13149; | ||
| 21 | see <http://bugs.gnu.org/13149#73> and later messages in the thread. | ||
| 22 | |||
| 1 | 2013-01-17 Dmitry Antipov <dmantipov@yandex.ru> | 23 | 2013-01-17 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 24 | ||
| 3 | * lisp.h (toplevel): Add comment about using Lisp_Save_Value | 25 | * lisp.h (toplevel): Add comment about using Lisp_Save_Value |