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