diff options
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 2c98cdf59a6..ba77a92cf17 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,49 @@ | |||
| 1 | 2011-02-26 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear | ||
| 4 | to reader (and to the compiler) that the loop always executes at | ||
| 5 | least once. This prevents a warning with recent GCC. | ||
| 6 | (BROWSE_STRUCT): Remove unused macro. | ||
| 7 | |||
| 8 | * fakemail.c: Include <ignore-value.h>. | ||
| 9 | (put_line): Explicitly ignore fwrite return value, for benefit of | ||
| 10 | recent glibc + gcc. | ||
| 11 | (close_the_streams): Diagnose output errors instead of merely | ||
| 12 | exiting with nonzero status. | ||
| 13 | (my_fclose, main): Diagnose input errors, and exit with nonzero status. | ||
| 14 | Formerly, input errors were silently ignored. | ||
| 15 | |||
| 16 | * ebrowse.c (putstr): Rename from PUTSTR and turn into a function. | ||
| 17 | All callers changed. This is cleaner, and avoids GCC warnings about | ||
| 18 | passing NULL to fputs. | ||
| 19 | (insert_keyword): Rename parameter to avoid shadowing diagnostic. | ||
| 20 | |||
| 21 | 2011-02-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 22 | |||
| 23 | * emacsclient.c (main): Avoid dangling 'if'. | ||
| 24 | (xstrdup): Remove; no longer needed. | ||
| 25 | (get_current_dir_name, w32_getenv, get_server_config, find_tty): | ||
| 26 | (set_local_socket, main): | ||
| 27 | Use const char *, not char *, for pointers that are not assigned | ||
| 28 | through. | ||
| 29 | (IF_LINT): New macro. | ||
| 30 | (set_local_socket, main): Use it to suppress warnings with | ||
| 31 | GCC -Wuninitialized. | ||
| 32 | |||
| 33 | * emacsclient.c: Redo local variables to avoid shadowing problems. | ||
| 34 | (message, socket_status, start_daemon_and_retry_set_socket): | ||
| 35 | Rename locals. | ||
| 36 | (main): Move decl of "i". | ||
| 37 | |||
| 38 | * etags.c (ISUPPER): Move to inside the only #ifdef where it's used. | ||
| 39 | This avoids an unused-macro warning with some GCC settings. | ||
| 40 | |||
| 41 | * make-docfile.c (write_globals): Change char * to char const * | ||
| 42 | to avoid a GCC "assignment discards qualifiers" diagnostic | ||
| 43 | in some configurations. | ||
| 44 | (scan_c_file): Refactor local variable decls to make their scope | ||
| 45 | more accurate and to avoid a GCC -Wuninitialized diagnostic. | ||
| 46 | |||
| 1 | 2011-02-22 Eli Zaretskii <eliz@gnu.org> | 47 | 2011-02-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 48 | ||
| 3 | * etags.c (canonicalize_filename, ISUPPER): Fix last change. | 49 | * etags.c (canonicalize_filename, ISUPPER): Fix last change. |