aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-03-22 01:10:11 -0700
committerPaul Eggert2011-03-22 01:10:11 -0700
commit19ab8a188aed3904edb0cfa026503c4d63c57c5a (patch)
tree63cfa01be4216aed1af8a160ffcc2db023805818 /src/ChangeLog
parentf0641eff4f15f93287576f9902e4657af4fdd3e3 (diff)
downloademacs-19ab8a188aed3904edb0cfa026503c4d63c57c5a.tar.gz
emacs-19ab8a188aed3904edb0cfa026503c4d63c57c5a.zip
* xdisp.c (message_log_check_duplicate): Return unsigned long, not int.
This is less likely to overflow, and avoids undefined behavior if overflow does occur. All callers changed. Use strtoul to scan for the unsigned long integer.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d491d089514..a9f3e3a5b70 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12011-03-22 Paul Eggert <eggert@cs.ucla.edu> 12011-03-22 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * xdisp.c (message_log_check_duplicate): Return unsigned long, not int.
4 This is less likely to overflow, and avoids undefined behavior if
5 overflow does occur. All callers changed. Use strtoul to scan
6 for the unsigned long integer.
7
3 * scroll.c (do_scrolling): Work around GCC bug 48228. 8 * scroll.c (do_scrolling): Work around GCC bug 48228.
4 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>. 9 See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
5 10