summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-13 23:33:48 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-13 23:33:48 -0700
commit9996870822d6e2a0ebd2990aec8e707f09f7b264 (patch)
treef3fdd98a8a60c5a57dc7ea6b730bd50a9c527231 /src/fileio.c
parent5d4cb038a45cc94f9a132cf44a787b73e1e3055c (diff)
downloademacs-9996870822d6e2a0ebd2990aec8e707f09f7b264.tar.gz
* fileio.c: Add FIXMES mentioning Bug#8496.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c3
1 files changed, 3 insertions, 0 deletions
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