aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-09-04 10:24:12 -0700
committerPaul Eggert2011-09-04 10:24:12 -0700
commit3f8236f46ba78f807fa25a2b2db34d10730d51cc (patch)
tree4502619093c6bba8d4497a3b0dfffc0581df7e64 /src/ChangeLog
parentbc3200871917d5c54c8c4299a06bf8f8ba2ea02d (diff)
downloademacs-3f8236f46ba78f807fa25a2b2db34d10730d51cc.tar.gz
emacs-3f8236f46ba78f807fa25a2b2db34d10730d51cc.zip
* indent.c: Integer overflow fixes.
(position_indentation): Now takes ptrdiff_t, not int. (Fvertical_motion): Don't wrap around LINES values that don't fit in 'int'. Instead, treat them as extreme values. This is good enough for windows, which can't have more than INT_MAX lines anyway.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6113c2362ee..9c5ca280eba 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12011-09-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 * indent.c: Integer overflow fixes.
4 (position_indentation): Now takes ptrdiff_t, not int.
5 (Fvertical_motion): Don't wrap around LINES values that don't fit
6 in 'int'. Instead, treat them as extreme values. This is good
7 enough for windows, which can't have more than INT_MAX lines anyway.
8
12011-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org> 92011-09-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 10
3 * Require libxml/parser.h to avoid compilation warning. 11 * Require libxml/parser.h to avoid compilation warning.