Paul Eggert
c4fc4e301e
* region-cache.c (insert_cache_boundary): Redo var to avoid shadowing.
2011-03-17 23:25:25 -07:00
Paul Eggert
918436ed33
* region-cache.h (pp_cache): New decl, for gcc -Wmissing-prototypes.
2011-03-17 23:22:42 -07:00
Paul Eggert
b9c7f648f0
* callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering.
2011-03-17 22:56:46 -07:00
Paul Eggert
5e41f65daf
Better fix for volatile issue.
2011-03-17 22:50:40 -07:00
Paul Eggert
7e9123a200
* sysdep.c (sys_subshell): Use 'volatile' to avoid vfork clobbering.
...
Before, this 'volatile' was incorrectly IF_LINTted out.
2011-03-17 22:06:34 -07:00
Paul Eggert
6bd8c14466
* lisp.h (child_setup): Now NO_RETURN unless DOS_NT.
...
This should get cleaned up, so that child_setup has the
same signature on all platforms.
2011-03-17 21:58:44 -07:00
Paul Eggert
cb1d0ef7c9
* callproc.c (relocate_fd): Rename locals to avoid shadowing.
2011-03-17 21:45:18 -07:00
Paul Eggert
7710357ceb
* callproc.c (call_process_cleanup): Now static.
2011-03-17 21:43:32 -07:00
Paul Eggert
fffe2e1404
Restore failure returns to unexaix.c, unexcoff.c, unexcw.c
2011-03-17 13:18:59 -07:00
Eli Zaretskii
09f6ff021c
Update MS-Windows dependencies after 2011-03-17T18:41:30Z!eggert@cs.ucla.edu.
...
src/makefile.w32-in ($(BLD)/unexw32.$(O)): Depend on $(SRC)/unexec.h.
2011-03-17 21:55:40 +02:00
Paul Eggert
381259ef0d
Change unexec implementations to match prototype.
2011-03-17 11:41:30 -07:00
Paul Eggert
a3a6c54ec7
Merge: Fix more problems found by GCC 4.5.2's static checks.
2011-03-17 09:51:42 -07:00
Paul Eggert
b1d876f1a1
Merge from mainline.
2011-03-17 09:32:03 -07:00
Paul Eggert
b766f86726
* process.c (make_serial_process_unwind, send_process_trap):
...
(sigchld_handler): Now static.
2011-03-16 22:18:33 -07:00
Paul Eggert
be02381c5d
* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
...
That way, the code declares only the vars that it needs.
* s/aix4-2.h (PTY_ITERATION): Declare iteration vars.
* s/cygwin.h (PTY_ITERATION): Likewise.
* s/darwin.h (PTY_ITERATION): Likewise.
* s/gnu-linux.h (PTY_ITERATION): Likewise.
2011-03-16 22:15:08 -07:00
Paul Eggert
5704874403
* s/irix6-5.h (PTY_OPEN): Declare stb, to loosen coupling.
...
* process.c (allocate_pty): Don't declare stb unless it's needed.
2011-03-16 19:36:27 -07:00
Paul Eggert
615f2d59a5
* bytecode.c (CONSTANTLIM): Remove; unused.
...
(METER_CODE, Bscan_buffer, Bread_char, Bset_mark):
Define only if needed.
2011-03-16 19:18:00 -07:00
Paul Eggert
7914961cd7
* bytecode.c (MAYBE_GC): Rewrite so as not to use empty "else".
2011-03-16 19:11:29 -07:00
Paul Eggert
73366a004b
* unexelf.c (ELF_BSS_SECTION_NAME, OLD_PROGRAM_H): Remove; unused.
2011-03-16 19:09:36 -07:00
Paul Eggert
9ae7151257
* unexelf.c: Use a different way to cause a compilation error if anyone uses
...
n rather than nn, a way that does not involve shadowing.
2011-03-16 19:07:47 -07:00
Paul Eggert
b3967b18cd
* unexelf.c (unexec): Name an expression,
...
to avoid gcc -Wbad-function-cast warning.
2011-03-16 18:52:35 -07:00
Paul Eggert
43cfc33e3d
Add Bug#.
2011-03-16 18:49:15 -07:00
Paul Eggert
29a6015ab3
* deps.mk (unexalpha.o): Remove; unused.
2011-03-16 17:22:09 -07:00
Paul Eggert
7feda0d218
* unexec.h: New file.
2011-03-16 17:03:31 -07:00
Paul Eggert
ce701a3393
New file unexec.h, the (simple) interface for unexec.
...
* deps.mk (emacs.o, unexaix.o, unexcw.o, unexcoff.o, unexelf.o):
(unexhp9k800.o, unexmacosx.o, unexsol.o, unexw32.o):
Depend on unexec.h.
* emacs.c [!defined CANNOT_DUMP]: Include unexec.h.
* unexaix.c, unexcoff.c, unexcw.c, unexelf.c, unexhp9k800.c:
* unexmacosx.c, unexsol.c, unexw32.c: Include unexec.h.
2011-03-16 16:59:54 -07:00
Paul Eggert
4f63c6bb76
* syntax.c (back_comment, skip_chars): Mark vars as initialized.
2011-03-16 14:47:59 -07:00
Paul Eggert
01f44d5a68
* syntax.c (Fforward_comment, scan_lists): Rename locals to avoid
...
shadowing.
2011-03-16 14:43:38 -07:00
Paul Eggert
0902fe4540
* lread.c (Fload, readevalloop, read1): Rename locals to avoid shadowing.
2011-03-16 14:40:51 -07:00
Paul Eggert
a6670b0ba2
* character.h (FETCH_STRING_CHAR_ADVANCE_NO_CHECK, BUF_INC_POS):
...
Rename locals to avoid shadowing.
2011-03-16 14:34:32 -07:00
Paul Eggert
cef2010db4
* lread.c (read1): Rewrite so as not to use empty "else".
2011-03-16 14:29:13 -07:00
Paul Eggert
d4d7173a91
* print.c (Fredirect_debugging_output): Fix pointer signedess.
2011-03-16 14:28:29 -07:00
Paul Eggert
f08b802adc
* lisp.h (debug_output_compilation_hack): Add decl here, to avoid
...
warning when compiling print.c.
2011-03-16 14:27:03 -07:00
Paul Eggert
5ad03b978f
* font.c (font_sort_entities): Mark var as initialized.
2011-03-16 14:23:37 -07:00
Paul Eggert
3ddb063971
* font.c (font_unparse_fcname): Abort in an "impossible" situation
...
instead of using an uninitialized var.
2011-03-16 14:14:06 -07:00
Stefan Monnier
fb103ca9a7
* src/print.c (PRINT_CIRCLE_CANDIDATE_P): New macro.
...
(print_preprocess, print_object): New macro to fix last change.
2011-03-16 13:34:26 -04:00
Stefan Monnier
35ac2a97f5
* src/print.c (print_preprocess): Don't forget font objects.
2011-03-16 10:23:26 -04:00
Paul Eggert
13a547c679
* font.c: (font_style_to_value, font_prop_validate_style, font_unparse_fcname):
...
(font_update_drivers, Ffont_get_glyphs, font_add_log):
Rename or move locals to avoid shadowing.
2011-03-16 01:34:44 -07:00
Paul Eggert
170a2692ec
* character.h (FETCH_CHAR_ADVANCE): Rename locals to avoid shadowing.
2011-03-16 01:31:20 -07:00
Paul Eggert
ea838e10ea
* font.c (font_get_spec): Remove; unused.
2011-03-16 01:22:49 -07:00
Paul Eggert
7b81e2d023
* font.c (font_delete_unmatched): Now static.
2011-03-16 01:22:13 -07:00
Paul Eggert
89bc529a4c
* font.c (font_parse_fcname): Remove unused vars.
2011-03-16 01:20:40 -07:00
Paul Eggert
e663c700e7
* font.c (font_unparse_xlfd): Don't mix pointers to variables with
...
pointers to constants.
2011-03-16 01:19:22 -07:00
Paul Eggert
612f56dfff
* fns.c (Ffillarray): Rename locals to avoid shadowing.
2011-03-16 00:49:54 -07:00
Paul Eggert
2a80c887c7
* fns.c (require_nesting_list, require_unwind): Now static.
2011-03-16 00:48:36 -07:00
Paul Eggert
a885e2ed79
* floatfns.c (Ffrexp, Fldexp): Rename locals to avoid shadowing.
2011-03-16 00:47:02 -07:00
Paul Eggert
1384fa3358
* floatfns.c (domain_error2): Define only if needed.
2011-03-16 00:45:34 -07:00
Paul Eggert
1faed8ae39
* eval.c (Fdefvar): Rename locals to avoid shadowing.
2011-03-16 00:44:19 -07:00
Paul Eggert
8b2c52e913
* alloc.c (mark_backtrace): Move decl from here ...
...
* lisp.h: ... to here, so that it can be checked.
2011-03-16 00:37:10 -07:00
Paul Eggert
cfcbfb1aa5
* eval.c (lisp_indirect_variable): Name an expression,
...
to avoid gcc -Wbad-function-cast warning.
2011-03-16 00:34:28 -07:00
Paul Eggert
d28a21703d
* eval.c (Fdefvar): Rewrite so as not to use empty "else".
2011-03-16 00:30:17 -07:00