projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4cb03
)
* fileio.c: Add FIXMES mentioning Bug#8496.
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 14 Apr 2011 06:33:48 +0000
(23:33 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 14 Apr 2011 06:33:48 +0000
(23:33 -0700)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index d1e285959e23c1362e5778ee9195bcaf85d7e4ba..b4a464940c59add82d3f2d7ca6a839cf20c64601 100644
(file)
--- 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