mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
* fileio.c: Add FIXMES mentioning Bug#8496.
This commit is contained in:
parent
5d4cb038a4
commit
9996870822
1 changed files with 3 additions and 0 deletions
|
|
@ -3802,6 +3802,8 @@ variable `last-coding-system-used' to the coding system actually used. */)
|
|||
/* For a special file, all we can do is guess. */
|
||||
total = READ_BUF_SIZE;
|
||||
|
||||
/* FIXME: This if-statement is a no-op, because 'inserted' must be zero here
|
||||
(Bug#8496). */
|
||||
if (NILP (visit) && inserted > 0)
|
||||
{
|
||||
#ifdef CLASH_DETECTION
|
||||
|
|
@ -3912,6 +3914,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
|
|||
if (inserted == 0)
|
||||
{
|
||||
#ifdef CLASH_DETECTION
|
||||
/* FIXME: This code is a no-op, too (Bug#8496). */
|
||||
if (we_locked_file)
|
||||
unlock_file (BVAR (current_buffer, file_truename));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue