diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/fileio.c | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index da0576fdb46..d9891e457ac 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2011-09-11 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * fileio.c (Finsert_file_contents): If the file cannot be opened, | ||
| 4 | set its "size" to -1. This will set the modtime_size field of | ||
| 5 | the corresponding buffer to -1, which is what | ||
| 6 | verify-visited-file-modtime expects for files that do not exist. | ||
| 7 | (Bug#9139) | ||
| 8 | |||
| 1 | 2011-09-11 Paul Eggert <eggert@cs.ucla.edu> | 9 | 2011-09-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 10 | ||
| 3 | * keymap.h (KEY_DESCRIPTION_SIZE, push_key_description): Move decls | 11 | * keymap.h (KEY_DESCRIPTION_SIZE, push_key_description): Move decls |
diff --git a/src/fileio.c b/src/fileio.c index 2b31e18442b..2c478bac98f 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3253,6 +3253,7 @@ variable `last-coding-system-used' to the coding system actually used. */) | |||
| 3253 | if (NILP (visit)) | 3253 | if (NILP (visit)) |
| 3254 | report_file_error ("Opening input file", Fcons (orig_filename, Qnil)); | 3254 | report_file_error ("Opening input file", Fcons (orig_filename, Qnil)); |
| 3255 | st.st_mtime = -1; | 3255 | st.st_mtime = -1; |
| 3256 | st.st_size = -1; | ||
| 3256 | how_much = 0; | 3257 | how_much = 0; |
| 3257 | if (!NILP (Vcoding_system_for_read)) | 3258 | if (!NILP (Vcoding_system_for_read)) |
| 3258 | Fset (Qbuffer_file_coding_system, Vcoding_system_for_read); | 3259 | Fset (Qbuffer_file_coding_system, Vcoding_system_for_read); |