aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 23:33:48 -0700
committerPaul Eggert2011-04-13 23:33:48 -0700
commit9996870822d6e2a0ebd2990aec8e707f09f7b264 (patch)
treef3fdd98a8a60c5a57dc7ea6b730bd50a9c527231
parent5d4cb038a45cc94f9a132cf44a787b73e1e3055c (diff)
downloademacs-9996870822d6e2a0ebd2990aec8e707f09f7b264.tar.gz
emacs-9996870822d6e2a0ebd2990aec8e707f09f7b264.zip
* fileio.c: Add FIXMES mentioning Bug#8496.
-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. */)
3802 /* For a special file, all we can do is guess. */ 3802 /* For a special file, all we can do is guess. */
3803 total = READ_BUF_SIZE; 3803 total = READ_BUF_SIZE;
3804 3804
3805 /* FIXME: This if-statement is a no-op, because 'inserted' must be zero here
3806 (Bug#8496). */
3805 if (NILP (visit) && inserted > 0) 3807 if (NILP (visit) && inserted > 0)
3806 { 3808 {
3807#ifdef CLASH_DETECTION 3809#ifdef CLASH_DETECTION
@@ -3912,6 +3914,7 @@ variable `last-coding-system-used' to the coding system actually used. */)
3912 if (inserted == 0) 3914 if (inserted == 0)
3913 { 3915 {
3914#ifdef CLASH_DETECTION 3916#ifdef CLASH_DETECTION
3917 /* FIXME: This code is a no-op, too (Bug#8496). */
3915 if (we_locked_file) 3918 if (we_locked_file)
3916 unlock_file (BVAR (current_buffer, file_truename)); 3919 unlock_file (BVAR (current_buffer, file_truename));
3917#endif 3920#endif