diff options
| author | Paul Eggert | 2011-03-22 18:01:59 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-22 18:01:59 -0700 |
| commit | c9c49752e15c105ded153e9ab0a42743f57184e5 (patch) | |
| tree | e395db95d87459082bace9fcf3a2cec0ea3d1aea /lib-src/ChangeLog | |
| parent | 9d0da923ebd2b78abb6e02f0b90cfe9d818eb301 (diff) | |
| parent | b9b4b7cb4c27f9f6ad644168f0e1241e5c0d6eaa (diff) | |
| download | emacs-c9c49752e15c105ded153e9ab0a42743f57184e5.tar.gz emacs-c9c49752e15c105ded153e9ab0a42743f57184e5.zip | |
Fix more problems found by GCC 4.5.2's static checks.
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index bd1a84cf0b9..3df2f6881db 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,33 @@ | |||
| 1 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * ebrowse.c: Use size_t, not int, for sizes. | ||
| 4 | This avoids a warning with gcc -Wstrict-overflow, and works | ||
| 5 | better for very large objects. | ||
| 6 | (inbuffer_size): Now size_t. All uses changed. | ||
| 7 | (xmalloc, xrealloc, operator_name, process_file): Use size_t for | ||
| 8 | sizes. Don't bother testing whether a size_t value can be negative. | ||
| 9 | |||
| 10 | * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. | ||
| 11 | |||
| 12 | etags: In Prolog functions, don't assume int fits in size_t. | ||
| 13 | This avoids a warning with gcc -Wstrict-overflow. | ||
| 14 | * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t, | ||
| 15 | not int, to store sizes. | ||
| 16 | (prolog_atom): Return 0, not -1, on error. All callers changed. | ||
| 17 | |||
| 18 | update-game-score: fix bug with -r | ||
| 19 | * update-game-score.c (main): Don't set 'scores' to garbage when | ||
| 20 | -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug | ||
| 21 | was introduced in the 2002-04-10 change, and was found with gcc | ||
| 22 | -Wstrict-overflow (GCC 4.5.2, x86-64). | ||
| 23 | |||
| 24 | fakemail: Remove dependency on ignore-value. | ||
| 25 | This undoes some of the recent fakemail-related changes. | ||
| 26 | It is made possible due to recent changes to gnulib's stdio module. | ||
| 27 | * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h. | ||
| 28 | * fakemail.c: Do not include ignore-value.h. | ||
| 29 | (put_line): Do not use ignore_value. | ||
| 30 | |||
| 1 | 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change) | 31 | 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change) |
| 2 | 32 | ||
| 3 | * emacsclient.c (longopts): Add quiet. | 33 | * emacsclient.c (longopts): Add quiet. |