Paul Eggert
c184bbfdfd
Merge: Use socklen_t, not int, for socket lengths.
2011-03-20 09:55:33 -07:00
Paul Eggert
6a90a4f198
Merge from gnulib, for socklen_t.
2011-03-20 09:28:22 -07:00
Paul Eggert
c939f91b4d
Add Bug#8298.
2011-03-19 22:15:59 -07:00
Paul Eggert
12d8b6ab59
* process.c (create_process): Use 'volatile' to avoid vfork clobbering.
2011-03-19 20:07:54 -07:00
Paul Eggert
7b8081265e
* process.c (FIRST_PROC_DESC, IF_NON_BLOCKING_CONNECT): Remove unused macros.
2011-03-19 19:48:50 -07:00
Paul Eggert
f990b4e5d9
* process.c (process_send_signal): Add cast to avoid pointer signedness problem.
2011-03-19 19:45:19 -07:00
Paul Eggert
0da4933597
* process.c (Fnetwork_interface_info): Fix pointer signedness.
2011-03-19 19:42:34 -07:00
Paul Eggert
4dc343ee36
* process.c (Fmake_network_process): Define label "retry_connect" only if needed.
2011-03-19 19:41:23 -07:00
Paul Eggert
b93aacde82
* process.c: Rename or move locals to avoid shadowing.
...
(list_processes_1, Fmake_network_process):
(read_process_output_error_handler, exec_sentinel_error_handler):
Rename or move locals.
2011-03-19 19:40:14 -07:00
Paul Eggert
af8a867c62
Make tparam.h and terminfo.c consistent.
...
* cm.c (tputs, tgoto, BC, UP): Remove extern decls. Include
tparam.h instead, since it declares them.
* cm.h (PC): Remove extern decl; tparam.h now does this.
* deps.mk (cm.o, terminfo.o): Depend on tparam.h.
* terminfo.c: Include tparam.h, to check interfaces.
(tparm): Make 1st arg a const pointer in decl. Put it at top level.
(tparam): Adjust signature to match interface in tparam.h;
this removes some undefined behavior. Check that outstring and len
are zero, which they always are with Emacs.
* tparam.h (PC, BC, UP): New extern decls.
2011-03-19 15:46:50 -07:00
Paul Eggert
001a7ab41b
* xftfont.c (xftfont_open): Rename locals to avoid shadowing.
2011-03-18 22:07:42 -07:00
Paul Eggert
0248044d31
* xftfont.c (xftfont_shape): Now static, and defined only if needed.
2011-03-18 22:05:19 -07:00
Paul Eggert
49eaafbac1
* ftfont.c: (get_adstyle_property, ftfont_pattern_entity):
...
(ftfont_lookup_cache, ftfont_open, ftfont_anchor_point):
Rename locals to avoid shadowing.
2011-03-18 22:03:30 -07:00
Paul Eggert
e932860f4b
* ftfont.c (ftfont_list): Remove unused local.
2011-03-18 21:57:02 -07:00
Paul Eggert
a00924bbce
* ftfont.c (ftfont_otf_capability, ftfont_shape): Omit decls if not needed.
...
(OTF_TAG_SYM): Omit macro if not needed.
2011-03-18 21:56:15 -07:00
Paul Eggert
8ff096c18c
* ftfont.c (ftfont_resolve_generic_family): Fix pointer signedness.
2011-03-18 19:49:10 -07:00
Paul Eggert
e2be39f6af
* xfont.c (xfont_list_family): Mark var as initialized.
2011-03-18 19:45:11 -07:00
Paul Eggert
c9735e30ca
* xml.c (make_dom): Now static.
2011-03-18 19:43:47 -07:00
Paul Eggert
11b6112221
Add Bug#.
2011-03-18 19:42:49 -07:00
Paul Eggert
8e52e65207
* composite.c (find_automatic_composition): Mark vars as initialized, with a FIXME.
2011-03-18 18:02:49 -07:00
Paul Eggert
80e079b231
* composite.c (composition_update_it): Mark var as initialized.
2011-03-18 17:58:10 -07:00
Paul Eggert
b246f9329c
* composite.c (composition_reseat_it): Remove unused locals.
...
(find_automatic_composition, composition_adjust_point): Likewise.
2011-03-18 17:18:31 -07:00
Paul Eggert
8f5201aeeb
* composite.c (composition_compute_stop_pos): Rename local to
...
avoid shadowing.
2011-03-18 17:16:45 -07:00
Paul Eggert
760fbc2c7d
character.h: Rename locals to avoid shadowing.
...
* character.h (PREV_CHAR_BOUNDARY, FETCH_STRING_CHAR_ADVANCE):
(FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE, FETCH_CHAR_ADVANCE):
(FETCH_CHAR_ADVANCE_NO_CHECK, INC_POS, DEC_POS, BUF_INC_POS):
(BUF_DEC_POS): Be more systematic about renaming local temporaries
to avoid shadowing.
2011-03-18 17:12:53 -07:00
Paul Eggert
ff08eb8560
* textprop.c (property_change_between_p): Remove; unused.
2011-03-18 09:42:05 -07:00
Paul Eggert
fc7bf02501
* intervals.c (interval_start_pos): Now static.
2011-03-18 09:40:17 -07:00
Paul Eggert
235d7abc8e
* intervals.h (CHECK_TOTAL_LENGTH): Avoid empty "else".
2011-03-18 09:39:15 -07:00
Paul Eggert
c83b88720c
Add Bug#.
2011-03-18 00:27:01 -07:00
Paul Eggert
3e7d659435
* atimer.c (start_atimer, append_atimer_lists, set_alarm): Rename
...
locals to avoid shadowing.
2011-03-17 23:48:05 -07:00
Paul Eggert
8176119bc4
* sound.c (wav_play): Initialize a variable to 0, to prevent undefined behavior.
2011-03-17 23:42:43 -07:00
Paul Eggert
d01f234b5f
* sound.c (alsa_choose_format): Remove unused local var.
2011-03-17 23:28:04 -07:00
Paul Eggert
500603320d
* sound.c (wav_play, au_play, Fplay_sound_internal):
...
Fix pointer signedness.
2011-03-17 23:27:08 -07:00
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
591b2973e7
Add Bug#.
2011-03-17 22:09:58 -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
401bf9b470
process.c: Use socklen_t, not int, for socket lengths.
2011-03-17 20:30:24 -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
Julien Danjou
d6cd56f187
mm-uu.el (mm-uu-dissect-text-parts): Only dissect handle that are inline.
...
gnus-art.el (article-hide-list-identifiers): Use gnus-group-get-list-identifiers.
* gnus-sum.el (gnus-group-get-list-identifiers): New function.
(gnus-summary-remove-list-identifiers): Use gnus-group-get-list-identifiers to get regexp.
(gnus-select-newsgroup, gnus-summary-insert-subject, gnus-summary-insert-articles): Call gnus-summary-remove-list-identifiers unconditionally.
2011-03-17 11:30:27 +00: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