From d5cad867eca6beb34092cee18237cbc55100c946 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 20 Mar 2011 22:04:41 -0700 Subject: [ChangeLog] fakemail: Remove dependency on ignore-value. * Makefile.in (GNULIB_MODULES): Add stdio. * lib/stdio.in.h, m4/stdio_h.m4: New files, automatically imported from gnulib. [lib-src/ChangeLog] fakemail: Remove dependency on ignore-value. This undoes some of the recent fakemail-related changes. It is made possible due to recent changes to gnulib's stdio module. * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h. * fakemail.c: Do not include ignore-value.h. (put_line): Do not use ignore_value. --- lib-src/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index bd1a84cf0b9..cc713f0b68c 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,12 @@ +2011-03-21 Paul Eggert + + fakemail: Remove dependency on ignore-value. + This undoes some of the recent fakemail-related changes. + It is made possible due to recent changes to gnulib's stdio module. + * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h. + * fakemail.c: Do not include ignore-value.h. + (put_line): Do not use ignore_value. + 2011-03-03 Drake Wilson (tiny change) * emacsclient.c (longopts): Add quiet. -- cgit v1.2.1 From f0d80d43baa89029ea030a98350a74793ee5dc89 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Mar 2011 00:46:53 -0700 Subject: update-game-score: fix bug with -r * update-game-score.c (main): Don't set 'scores' to garbage when -r is specified and scorecount != MAX_SCORES. This bug was introduced in the 2002-04-10 change, and was found with gcc -Wstrict-overflow (GCC 4.5.2, x86-64). --- lib-src/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index cc713f0b68c..2548561f313 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,11 @@ 2011-03-21 Paul Eggert + update-game-score: fix bug with -r + * update-game-score.c (main): Don't set 'scores' to garbage when + -r is specified and scorecount != MAX_SCORES. This bug was + introduced in the 2002-04-10 change, and was found with gcc + -Wstrict-overflow (GCC 4.5.2, x86-64). + fakemail: Remove dependency on ignore-value. This undoes some of the recent fakemail-related changes. It is made possible due to recent changes to gnulib's stdio module. -- cgit v1.2.1 From 5d6d7e57010a1e09d553885c1ad5d54b7ba96747 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Mar 2011 09:22:16 -0700 Subject: Add Bug#. --- lib-src/ChangeLog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 2548561f313..a5d20af4263 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -2,8 +2,8 @@ update-game-score: fix bug with -r * update-game-score.c (main): Don't set 'scores' to garbage when - -r is specified and scorecount != MAX_SCORES. This bug was - introduced in the 2002-04-10 change, and was found with gcc + -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug + was introduced in the 2002-04-10 change, and was found with gcc -Wstrict-overflow (GCC 4.5.2, x86-64). fakemail: Remove dependency on ignore-value. -- cgit v1.2.1 From 3ef271f27f47dab138d431a72838d43a17102e27 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Mar 2011 09:40:05 -0700 Subject: etags: In Prolog functions, don't assume int fits in size_t. This avoids a warning with gcc -Wstrict-overflow. * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t, not int, to store sizes. (prolog_atom): Return 0, not -1, on error. All callers changed. --- lib-src/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index a5d20af4263..cb847669deb 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,11 @@ 2011-03-21 Paul Eggert + etags: In Prolog functions, don't assume int fits in size_t. + This avoids a warning with gcc -Wstrict-overflow. + * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t, + not int, to store sizes. + (prolog_atom): Return 0, not -1, on error. All callers changed. + update-game-score: fix bug with -r * update-game-score.c (main): Don't set 'scores' to garbage when -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug -- cgit v1.2.1 From 58cb46fbf4a0d3b37cb9cf2b07446eaa48663693 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Mar 2011 09:41:03 -0700 Subject: * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. --- lib-src/ChangeLog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index cb847669deb..6c25f582eea 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-21 Paul Eggert + * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. + etags: In Prolog functions, don't assume int fits in size_t. This avoids a warning with gcc -Wstrict-overflow. * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t, -- cgit v1.2.1 From b1f961e1fa871419e3e75759ad2fefee032ebff5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Mar 2011 11:03:15 -0700 Subject: * ebrowse.c: Use size_t, not int, for sizes. This avoids a warning with gcc -Wstrict-overflow, and works better for very large objects. (inbuffer_size): Now size_t. All uses changed. (xmalloc, xrealloc, operator_name, process_file): Use size_t for sizes. Don't bother testing whether a size_t value can be negative. --- lib-src/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 6c25f582eea..909bee743bb 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,12 @@ 2011-03-21 Paul Eggert + * ebrowse.c: Use size_t, not int, for sizes. + This avoids a warning with gcc -Wstrict-overflow, and works + better for very large objects. + (inbuffer_size): Now size_t. All uses changed. + (xmalloc, xrealloc, operator_name, process_file): Use size_t for + sizes. Don't bother testing whether a size_t value can be negative. + * etags.c (Ada_funcs): Redo slightly to avoid overflow warning. etags: In Prolog functions, don't assume int fits in size_t. -- cgit v1.2.1 From 8cc1d5193337bef03f9525f2c017f6e70c4e64b9 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 22 Mar 2011 20:09:55 -0700 Subject: Replace mkinstalldirs with `install-sh -d', as automake recommends. * Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs. (sync-from-gnulib): Don't sync mkinstalldirs. * make-dist: Don't distribute mkinstalldirs. * leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs. * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Use `install-sh -d' rather than mkinstalldirs. * configure.in, doc/emacs/Makefile.in: Update comments. * admin/notes/copyright: Remove mkinstalldirs. --- lib-src/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 3df2f6881db..0e46a83aafa 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2011-03-23 Glenn Morris + + * Makefile.in ($(DESTDIR)${archlibdir}): + Use `install-sh -d' rather than mkinstalldirs. + 2011-03-23 Paul Eggert * ebrowse.c: Use size_t, not int, for sizes. -- cgit v1.2.1 From 9c88f339493465e8e200b21885f2ac886b299169 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 23 Mar 2011 17:25:38 +0100 Subject: w32: Fix some warnings reported by -Wall -Wextra. * lib-src/ntlib.c: Include . * nt/cmdproxy.c: Include . (make_absolute): Remove unused variable `i'. * src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'. (w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer. (Fx_close_connection): Remove unused variable `i'. * src/w32font.c (w32font_draw): Return number of glyphs. (w32font_open_internal): Remove unused variable `i'. (w32font_driver): Add missing initializer. * src/w32menu.c (utf8to16): Remove unused variable `utf16'. (fill_in_menu): Remove unused variable `items_added'. * src/w32term.c (last_mouse_press_frame): Remove static global variable. (w32_clip_to_row): Remove unused variable `f'. (x_delete_terminal): Remove unused variable `i'. * src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'. (NOTHING): Remove unused static global variable. (uniscribe_check_otf): Remove unused variable `table'. (uniscribe_font_driver): Add missing initializers. --- lib-src/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 0e46a83aafa..672fe8c8541 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2011-03-23 Juanma Barranquero + + * ntlib.c: Include . + 2011-03-23 Glenn Morris * Makefile.in ($(DESTDIR)${archlibdir}): -- cgit v1.2.1 From 9af30bdf17f8371664bc0c5854c91c2e46257b5e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 26 Mar 2011 19:27:11 -0700 Subject: Remove (RET)SIGTYPE; it is identical to void on all supported systems. Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro. (AH_BOTTOM): Do not define SIGTYPE. * lib-src/emacsclient.c: Replace SIGTYPE with void. * nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void). * src/syssignal.h: Replace RETSIGTYPE with void. * src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c: * src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c: * src/xterm.c: Replace SIGTYPE with void everywhere. * src/s/template.h (SIGTYPE): Remove commented out definition. * src/s/usg5-4-common.h (SIGTYPE): Remove definition. * admin/CPP-DEFINES: Remove SIGTYPE. --- lib-src/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 672fe8c8541..f594efa588c 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2011-03-27 Glenn Morris + + * emacsclient.c: Replace SIGTYPE with void. + 2011-03-23 Juanma Barranquero * ntlib.c: Include . -- cgit v1.2.1 From 8c422c30830f085a5f721b2be6c874adb05ccea8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 28 Mar 2011 23:54:38 -0700 Subject: * etags.c (just_read_file): Remove dummy variable and simplify. --- lib-src/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib-src/ChangeLog') diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f594efa588c..1c0c506f0e0 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2011-03-29 Paul Eggert + + * etags.c (just_read_file): Remove dummy variable and simplify. + 2011-03-27 Glenn Morris * emacsclient.c: Replace SIGTYPE with void. -- cgit v1.2.1