- 22 Mar, 2011 6 commits
-
-
Paul Eggert authored
the first time through the loop, since we know p0 < p1 then. This also avoids a gcc -Wstrict-overflow warning.
-
Paul Eggert authored
leading to a memory leak, possible in functions like load_charset_map_from_file that can allocate an unbounded number of objects.
-
Paul Eggert authored
that could (at least in theory) be that large.
-
Paul Eggert authored
This also avoids a (bogus) GCC warning with gcc -Wstrict-overflow.
-
Paul Eggert authored
This is less likely to overflow, and avoids undefined behavior if overflow does occur. All callers changed. Use strtoul to scan for the unsigned long integer.
-
Paul Eggert authored
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
-
- 21 Mar, 2011 19 commits
-
-
Paul Eggert authored
This also avoids a warning with gcc -Wstrict-overflow.
-
Paul Eggert authored
-
Paul Eggert authored
This also avoids a warning with gcc -Wstrict-overflow.
-
Paul Eggert authored
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.
-
Paul Eggert authored
-
Paul Eggert authored
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.
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
* 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).
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
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.
-
Paul Eggert authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
- 20 Mar, 2011 15 commits
-
-
Glenn Morris authored
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html * autogen/: New directory, to be excluded from releases. * autogen/copy_autogen, autogen/update_autogen: New scripts. * autogen/README: New file. * autogen/aclocal.m4, autogen/config.in, autogen/configure: * autogen/Makefile.in: Add auto-updated generated files. * autogen.sh: No longer a no-op, now it tests for autotools and runs them as necessary. * configure.in: Defaule maintainer-mode to on. * aclocal.m4, configure, lib/Makefile.in: Remove files. * src/config.in: Remove file. * INSTALL.BZR, admin/make-tarball.txt: Update instructions.
-
Paul Eggert authored
-
Paul Eggert authored
-
Jay Belanger authored
units and musical notes.
-
Paul Eggert authored
-
Paul Eggert authored
-
Juanma Barranquero authored
* minibuf.c (Vcompleting_read_function): Don't declare, global variables are now in src/globals.h. (syms_of_minibuf): Remove spurious & from previous change.
-
Leo Liu authored
-
Christian Ohler authored
(ert-delete-all-tests): Use `called-interactively-p' rather than `interactive-p'. (ert--make-xrefs-region): Respect END.
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
-