+2011-03-27 Glenn Morris <rgm@gnu.org>
+
+ * emacsclient.c: Replace SIGTYPE with void.
+
+2011-03-23 Juanma Barranquero <lekktu@gmail.com>
+
+ * ntlib.c: Include <ctype.h>.
+
+2011-03-23 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in ($(DESTDIR)${archlibdir}):
+ Use `install-sh -d' rather than mkinstalldirs.
+
+2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ * 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.
+ 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
+ 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.
+ * 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 <drake@begriffli.ch> (tiny change)
+
+ * emacsclient.c (longopts): Add quiet.
+ (decode_options): Handle q/quiet.
+ (print_help_and_exit): Add q/quiet.
+ (main): Suppress some messages if quiet option is used.
+
+2011-02-26 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
+
+ * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
+ (w32_getenv): Use xstrdup to return all values in malloc'ed
+ storage.
+
+2011-02-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
+ to reader (and to the compiler) that the loop always executes at
+ least once. This prevents a warning with recent GCC.
+ (BROWSE_STRUCT): Remove unused macro.
+
+ * fakemail.c: Include <ignore-value.h>.
+ (put_line): Explicitly ignore fwrite return value, for benefit of
+ recent glibc + gcc.
+ (close_the_streams): Diagnose output errors instead of merely
+ exiting with nonzero status.
+ (my_fclose, main): Diagnose input errors, and exit with nonzero status.
+ Formerly, input errors were silently ignored.
+
+ * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
+ All callers changed. This is cleaner, and avoids GCC warnings about
+ passing NULL to fputs.
+ (insert_keyword): Rename parameter to avoid shadowing diagnostic.
+
+2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ * emacsclient.c (main): Avoid dangling 'if'.
+ (xstrdup): Remove; no longer needed.
+ (get_current_dir_name, w32_getenv, get_server_config, find_tty):
+ (set_local_socket, main):
+ Use const char *, not char *, for pointers that are not assigned
+ through.
+ (IF_LINT): New macro.
+ (set_local_socket, main): Use it to suppress warnings with
+ GCC -Wuninitialized.
+
+ * emacsclient.c: Redo local variables to avoid shadowing problems.
+ (message, socket_status, start_daemon_and_retry_set_socket):
+ Rename locals.
+ (main): Move decl of "i".
+
+ * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
+ This avoids an unused-macro warning with some GCC settings.
+
+ * make-docfile.c (write_globals): Change char * to char const *
+ to avoid a GCC "assignment discards qualifiers" diagnostic
+ in some configurations.
+ (scan_c_file): Refactor local variable decls to make their scope
+ more accurate and to avoid a GCC -Wuninitialized diagnostic.
+
+2011-02-22 Eli Zaretskii <eliz@gnu.org>
+
+ * etags.c (canonicalize_filename, ISUPPER): Fix last change.
+
+ * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
+ on ../lib/min-max.h.
+
+2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ etags: Downcase drive letters, for consistency with Emacs proper.
+ * etags.c (upcase): Remove; no longer used.
+ (canonicalize_filename): Downcase drive letters.
+
+ Assume S_ISLNK etc. work, since gnulib supports this.
+ * etags.c (S_ISREG): Remove.
+
+2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume S_ISLNK etc. work, since gnulib supports this.
+ * etags.c (S_ISREG): Remove.
+
+2011-02-22 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (obj): Remove filemode.o.
+
+2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ New file "lib/min-max.h".
+ * ebrowse.c (min, max): Define them by including <min-max.h>
+ instead of defining it ourselves.
+ * pop.c (min): Likewise.
+ * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
+
+ * movemail.c (popmail): Report fchown failure instead of ignoring it.
+ But if the file already has the right ownership, don't worry about it.
+
+ * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
+ * test-distrib.c (buf): Make this local, to avoid shadowing.
+
+ * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
+ (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
+ (DONE): Remove unused macro.
+ (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
+ Define these macros only in the contexts that need them.
+ * pop.c (index): Remove unused macro.
+ (KPOP_PORT): Define only if KERBEROS is defined.
+
+ Declare file-scope functions and variables static if not exported.
+ This is more consistent, and is nicer with gcc -Wstrict-prototypes.
+ * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
+ * profile.c, test-distrib.c, update-game-score.c:
+ Declare non-'main' functions and variables to be static.
+ * ebrowse.c: Omit redundant function prototypes.
+
+2011-02-21 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
+ ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
+ Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
+
+2011-02-21 Ben Key <bkey76@gmail.com>
+
+ * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
+ the new BVAR macro.
+
+2011-02-20 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (obj): Remove md5.o.
+
+2011-02-18 Karl Chen <Karl.Chen@quarl.org>
+
+ * emacsclient.c (main): Loop while `recv' return EINTR.
+
+2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
+
+ * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
+ This avoids collision with config.h's EMACS_INT on some
+ configurations. All uses changed.
+
+2011-02-08 Tom Tromey <tromey@redhat.com>
+
+ * make-docfile.c: Unconditionally include stdlib.h.
+ (generate_globals): New global.
+ (xrealloc): New function.
+ (main): Handle '-g'. Call start_globals, write_globals.
+ (scan_file): Conditionally call put_filename.
+ (start_globals): New function.
+ (struct global): New.
+ (num_globals, globals): New globals.
+ (add_global, compare_globals, write_globals): New functions.
+ (scan_c_file): Update for "-g".
+ (scan_lisp_file): Fail if "-g".
+
+2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * emacsclient.c: Conform to C89 pointer rules.
+ (file_name_absolute_p): Accept const char *, not const unsigned
+ char *, to satisfy C89 rules.
+
+2011-02-02 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
+ Add ``-DEMACS_NAME="\"GNU Emacs\""''.
+ (obj): Remove strftime.o.
+
+2011-01-31 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
+ (ECLIENT_CFLAGS): Remove -DVERSION.
+ ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
+
+2011-01-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ src/emacs.c now gets version number from configure.in
+ * ebrowse.c: Adjust comment to say that.
+
+2011-01-30 Jim Meyering <meyering@redhat.com>
+
+ make-docfile: don't corrupt heap for an invalid .elc file
+ "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
+ one byte before just-malloc'd saved_string buffer.
+ * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
+ doc string length. Also fix an always-false while-loop test.
+
+2011-01-29 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
+ (GETOPTOBJS, GETOPTDEPS): Remove targets.
+ (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
+ ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
+ (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
+ and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
+ (clean): Don't remove getopt.h.
+ (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
+ ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
+ $(EMACS_ROOT)/lib/getopt.h.
+
+2011-01-28 Chong Yidong <cyd@stupidchicken.com>
+
+ * ntlib.c (setregid): New stub, renamed from setegid.
+
+ * ntlib.h: Update prototype.
+
+2011-01-25 Chong Yidong <cyd@stupidchicken.com>
+
+ * movemail.c (main): Use setregid instead of setegid, which is
+ missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
+
+2011-01-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ Check return values of some library calls.
+ * hexl.c (main): Check fread result.
+ * make-docfile.c (main): Check chdir result.
+ (scan_c_file): Check fscanf result.
+ * movemail.c (main): Check ftruncate result.
+