From 9996870822d6e2a0ebd2990aec8e707f09f7b264 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Apr 2011 23:33:48 -0700 Subject: [PATCH] * fileio.c: Add FIXMES mentioning Bug#8496. --- src/fileio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index d1e285959e2..b4a464940c5 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 -- 2.39.2