Commit 99968708 authored by Paul Eggert's avatar Paul Eggert
Browse files

* fileio.c: Add FIXMES mentioning Bug#8496.

parent 5d4cb038
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment