aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-03-22 09:20:45 -0700
committerPaul Eggert2011-03-22 09:20:45 -0700
commit8abc3f12955673bdb367b2de5556ff66f202d2d0 (patch)
tree0555a165d49f0900c1be467857a89d46cebabbd2 /src/ChangeLog
parenta2d26660368fbe4cc7d103aad6f565e36a280fac (diff)
downloademacs-8abc3f12955673bdb367b2de5556ff66f202d2d0.tar.gz
emacs-8abc3f12955673bdb367b2de5556ff66f202d2d0.zip
* coding.c (encode_coding_raw_text): Avoid unnecessary test
the first time through the loop, since we know p0 < p1 then. This also avoids a gcc -Wstrict-overflow warning.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a341d1b4678..45982f607f4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12011-03-22 Paul Eggert <eggert@cs.ucla.edu> 12011-03-22 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * coding.c (encode_coding_raw_text): Avoid unnecessary test
4 the first time through the loop, since we know p0 < p1 then.
5 This also avoids a gcc -Wstrict-overflow warning.
6
3 * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow 7 * lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow
4 leading to a memory leak, possible in functions like 8 leading to a memory leak, possible in functions like
5 load_charset_map_from_file that can allocate an unbounded number 9 load_charset_map_from_file that can allocate an unbounded number