aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Chen2011-02-18 17:28:09 -0500
committerStefan Monnier2011-02-18 17:28:09 -0500
commitb166dcd8bb8bf236ca43f62175b636ff3965862c (patch)
tree56814f8b134ba0c934eb6fd81ffd16e8bded1234
parente697fcfc0121d210c7acb16e3306cf7c552cf633 (diff)
downloademacs-b166dcd8bb8bf236ca43f62175b636ff3965862c.tar.gz
emacs-b166dcd8bb8bf236ca43f62175b636ff3965862c.zip
* lib-src/emacsclient.c (main): Loop while `recv' return EINTR.
-rw-r--r--lib-src/ChangeLog206
-rw-r--r--lib-src/emacsclient.c15
2 files changed, 118 insertions, 103 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 0f93941151e..66478816bfa 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12011-02-18 Karl Chen <Karl.Chen@quarl.org>
2
3 * emacsclient.c (main): Loop while `recv' return EINTR.
4
12011-02-09 Paul Eggert <eggert@cs.ucla.edu> 52011-02-09 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT. 7 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
@@ -26,8 +30,8 @@
26 30
272011-02-02 Eli Zaretskii <eliz@gnu.org> 312011-02-02 Eli Zaretskii <eliz@gnu.org>
28 32
29 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add 33 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
30 ``-DEMACS_NAME="\"GNU Emacs\""''. 34 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
31 (obj): Remove strftime.o. 35 (obj): Remove strftime.o.
32 36
332011-01-31 Eli Zaretskii <eliz@gnu.org> 372011-01-31 Eli Zaretskii <eliz@gnu.org>
@@ -232,8 +236,8 @@
232 236
233 * movemail.c (fatal, error, concat): Use const char *. 237 * movemail.c (fatal, error, concat): Use const char *.
234 238
235 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file): Use 239 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
236 const char *. 240 Use const char *.
237 241
238 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes) 242 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
239 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes) 243 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
@@ -551,8 +555,8 @@
551 555
5522010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change) 5562010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
553 557
554 * movemail.c (main): Check return values of setuid. Avoid 558 * movemail.c (main): Check return values of setuid.
555 possibility of symlink attack when movemail is setgid mail 559 Avoid possibility of symlink attack when movemail is setgid mail
556 (CVE-2010-0825). 560 (CVE-2010-0825).
557 561
5582010-04-02 Dan Nicolaescu <dann@ics.uci.edu> 5622010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
@@ -2258,7 +2262,7 @@
2258 (wchar.h): Include, maybe. 2262 (wchar.h): Include, maybe.
2259 (attribute_hidden): Define if not defined. 2263 (attribute_hidden): Define if not defined.
2260 (__getopt_initialized): Use attribute_hidden. 2264 (__getopt_initialized): Use attribute_hidden.
2261 (__libc_argc, __libc_argv): Renamed from original_argc, etc. 2265 (__libc_argc, __libc_argv): Rename from original_argc, etc.
2262 (__getopt_nonoption_flags, nonoption_flags_max_len) 2266 (__getopt_nonoption_flags, nonoption_flags_max_len)
2263 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS. 2267 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
2264 (SWAP_FLAGS): New definitions. 2268 (SWAP_FLAGS): New definitions.
@@ -2361,7 +2365,7 @@
23612002-08-29 Francesco Potortì <pot@gnu.org> 23652002-08-29 Francesco Potortì <pot@gnu.org>
2362 2366
2363 * etags.c (C_entries): Correct a problem with const C++ funcs. 2367 * etags.c (C_entries): Correct a problem with const C++ funcs.
2364 (ignoreindent): Renamed from noindentypedefs. 2368 (ignoreindent): Rename from noindentypedefs.
2365 (cjava, cplpl): They are now macros instead of local vars. 2369 (cjava, cplpl): They are now macros instead of local vars.
2366 2370
23672002-08-28 Francesco Potortì <pot@gnu.org> 23712002-08-28 Francesco Potortì <pot@gnu.org>
@@ -2377,7 +2381,7 @@
2377 (strcaseeq): Make it into a macro. 2381 (strcaseeq): Make it into a macro.
2378 2382
2379 * etags.c (make_tag): Never generate null length tag names. 2383 * etags.c (make_tag): Never generate null length tag names.
2380 (linebuffer_init): Renamed from initbuffer. All callers changed. 2384 (linebuffer_init): Rename from initbuffer. All callers changed.
2381 (pattern): Structure renamed to `regexp', member regex renamed to 2385 (pattern): Structure renamed to `regexp', member regex renamed to
2382 pattern. 2386 pattern.
2383 (node_st): Member pat renamed to regex. 2387 (node_st): Member pat renamed to regex.
@@ -2534,8 +2538,8 @@
2534 2538
25352002-05-30 Richard M. Stallman <rms@gnu.org> 25392002-05-30 Richard M. Stallman <rms@gnu.org>
2536 2540
2537 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL. 2541 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
2538 (LIBS_MOVE): Renamed from MOVE_LIBS. 2542 (LIBS_MOVE): Rename from MOVE_LIBS.
2539 2543
25402002-05-26 Paul Eggert <eggert@twinsun.com> 25442002-05-26 Paul Eggert <eggert@twinsun.com>
2541 2545
@@ -2816,21 +2820,21 @@
2816 (get_tag): Return a pointer to the tag that is found. 2820 (get_tag): Return a pointer to the tag that is found.
2817 2821
2818 * etags.c (LOOKING_AT): Use !intoken instead of iswhite. 2822 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2819 (F_takeprec): Renamed from takeprec. All callers changed. 2823 (F_takeprec): Rename from takeprec. All callers changed.
2820 (F_getit): Renamed from getit. All callers changed. 2824 (F_getit): Rename from getit. All callers changed.
2821 (nocase_tail): Renamed from tail. All callers changed. 2825 (nocase_tail): Rename from tail. All callers changed.
2822 (Ada_getit): Renamed from adagetit. All callers changed. 2826 (Ada_getit): Rename from adagetit. All callers changed.
2823 (L_getit): Simplify by using get_tag. 2827 (L_getit): Simplify by using get_tag.
2824 (Perl_functions, Postscript_functions, erlang_attribute): Use the 2828 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2825 modified LOOKING_AT. 2829 modified LOOKING_AT.
2826 (notinname): Removed '[' and added ')' to the recognised chars. 2830 (notinname): Remove '[' and added ')' to the recognised chars.
2827 (LOOKING_AT, get_tag, PHP_functions): Use notinname. 2831 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2828 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): 2832 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2829 Clarified, using strneq or notinname. 2833 Clarified, using strneq or notinname.
2830 (L_isdef, L_isquote): Removed. 2834 (L_isdef, L_isquote): Removed.
2831 (Lisp_functions, L_getit): Clarified. 2835 (Lisp_functions, L_getit): Clarified.
2832 2836
2833 * etags.c (P_): Renamed to __P for consistency with config.h. 2837 * etags.c (P_): Rename to __P for consistency with config.h.
2834 [HAVE_CONFIG_H]: Let config.h deal with __P. 2838 [HAVE_CONFIG_H]: Let config.h deal with __P.
2835 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h. 2839 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2836 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because 2840 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
@@ -2889,7 +2893,7 @@
2889 (Perl_functions, Python_functions, PHP_functions) 2893 (Perl_functions, Python_functions, PHP_functions)
2890 (Scheme_functions, Texinfo_nodes): Use it. 2894 (Scheme_functions, Texinfo_nodes): Use it.
2891 (Perl_functions): Use strneq. 2895 (Perl_functions): Use strneq.
2892 (prolog_pred): Renamed to prolog_pr. 2896 (prolog_pred): Rename to prolog_pr.
2893 (prolog_pr): Recognise Prolog rules in addition to predicates. 2897 (prolog_pr): Recognise Prolog rules in addition to predicates.
2894 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent 2898 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
2895 unmodified compile, as Cygwin's regex.h is incompatible with us. 2899 unmodified compile, as Cygwin's regex.h is incompatible with us.
@@ -2988,7 +2992,7 @@
2988 2992
29892001-10-13 Gerd Moellmann <gerd@gnu.org> 29932001-10-13 Gerd Moellmann <gerd@gnu.org>
2990 2994
2991 * make-docfile.c (read_c_string_or_comment): Renamed from 2995 * make-docfile.c (read_c_string_or_comment): Rename from
2992 read_c_string. Add parameter COMMENT. Read C-style comments. 2996 read_c_string. Add parameter COMMENT. Read C-style comments.
2993 (scan_c_file): Handle doc strings in C comments. 2997 (scan_c_file): Handle doc strings in C comments.
2994 2998
@@ -3247,12 +3251,12 @@
3247 3251
32482001-01-25 Francesco Potortì <pot@gnu.org> 32522001-01-25 Francesco Potortì <pot@gnu.org>
3249 3253
3250 * etags.c (struct tok): Renamed from struct token. 3254 * etags.c (struct tok): Rename from struct token.
3251 (token): Renamed from tok. 3255 (token): Rename from tok.
3252 (structtype): Make it a local variable. 3256 (structtype): Make it a local variable.
3253 [DEBUG]: Use assert. 3257 [DEBUG]: Use assert.
3254 (xrnew): Change the synopsis. 3258 (xrnew): Change the synopsis.
3255 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus. 3259 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
3256 (grow_linebuffer): Don't call xrnew when not needed. 3260 (grow_linebuffer): Don't call xrnew when not needed.
3257 (token): Buffer renamed to line. 3261 (token): Buffer renamed to line.
3258 (C_entries): Three calls to inibuffer moved here from main. 3262 (C_entries): Three calls to inibuffer moved here from main.
@@ -3281,16 +3285,16 @@
3281 3285
32822001-01-14 Francesco Potortì <pot@gnu.org> 32862001-01-14 Francesco Potortì <pot@gnu.org>
3283 3287
3284 * etags.c (get_language_from_langname): Renamed from 3288 * etags.c (get_language_from_langname): Rename from
3285 get_language_from_name. 3289 get_language_from_name.
3286 (get_language_from_filename): Renamed from get_language_from_suffix. 3290 (get_language_from_filename): Rename from get_language_from_suffix.
3287 Now first looks for the complete file name. 3291 Now first looks for the complete file name.
3288 (language): New member char **filenames. 3292 (language): New member char **filenames.
3289 (Makefile_filenames): List of possible filenames for makefiles. 3293 (Makefile_filenames): List of possible filenames for makefiles.
3290 (lang_names): Add a NULL member for every entry, added an entry 3294 (lang_names): Add a NULL member for every entry, added an entry
3291 for makefiles. 3295 for makefiles.
3292 (Makefile_targets): New function. 3296 (Makefile_targets): New function.
3293 (Texinfo_nodes): Renamed from Texinfo_fuctions and made 3297 (Texinfo_nodes): Rename from Texinfo_fuctions and made
3294 it conformant to the style of the rest of the code. 3298 it conformant to the style of the rest of the code.
3295 3299
32962001-01-13 Gerd Moellmann <gerd@gnu.org> 33002001-01-13 Gerd Moellmann <gerd@gnu.org>
@@ -3429,7 +3433,7 @@
3429 3433
34302000-07-14 Gerd Moellmann <gerd@gnu.org> 34342000-07-14 Gerd Moellmann <gerd@gnu.org>
3431 3435
3432 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc. 3436 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
3433 3437
3434 * etags.c (xmalloc, xrealloc): Make externally visible, for use 3438 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3435 by alloca.o. 3439 by alloca.o.
@@ -3466,8 +3470,8 @@
3466 3470
34672000-06-06 Gerd Moellmann <gerd@gnu.org> 34712000-06-06 Gerd Moellmann <gerd@gnu.org>
3468 3472
3469 * ebrowse.c (ymalloc): Renamed from xmalloc. 3473 * ebrowse.c (ymalloc): Rename from xmalloc.
3470 (yrealloc): Renamed from xrealloc. 3474 (yrealloc): Rename from xrealloc.
3471 3475
34722000-05-21 Dave Love <fx@gnu.org> 34762000-05-21 Dave Love <fx@gnu.org>
3473 3477
@@ -3690,7 +3694,7 @@
3690 corrects a bug. All callers changed. 3694 corrects a bug. All callers changed.
3691 (canonicalize_filename): New function. 3695 (canonicalize_filename): New function.
3692 (process_file, etags_getcwd, absolute_dirname): Use it. 3696 (process_file, etags_getcwd, absolute_dirname): Use it.
3693 (relative_filename, absolute_filename): Removed var shadowing. 3697 (relative_filename, absolute_filename): Remove var shadowing.
3694 (C_entries, Pascal_functions): Add fake initializations to keep 3698 (C_entries, Pascal_functions): Add fake initializations to keep
3695 compilers quiet. 3699 compilers quiet.
3696 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup. 3700 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
@@ -3980,8 +3984,8 @@
3980 3984
39811998-05-01 Andrew Innes <andrewi@harlequin.co.uk> 39851998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3982 3986
3983 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force 3987 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
3984 all file i/o to be in binary mode. Include ntlib.h. 3988 Force all file i/o to be in binary mode. Include ntlib.h.
3985 3989
39861998-04-27 Andreas Schwab <schwab@delysid.gnu.org> 39901998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3987 3991
@@ -4013,8 +4017,8 @@
4013 return types. Add forward declarations. 4017 return types. Add forward declarations.
4014 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available. 4018 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4015 Don't declare geteuid. 4019 Don't declare geteuid.
4016 (print_help_and_exit): Change return type to void. Forward 4020 (print_help_and_exit): Change return type to void.
4017 declare it. 4021 Forward declare it.
4018 * b2m.c: Include <stdlib.h> if available. 4022 * b2m.c: Include <stdlib.h> if available.
4019 (main): Explicitly declare return type. 4023 (main): Explicitly declare return type.
4020 4024
@@ -4026,7 +4030,7 @@
4026 4030
40271998-03-26 Richard Stallman <rms@psilocin.gnu.org> 40311998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4028 4032
4029 * pop.c (pop_getline): Renamed from getline. 4033 * pop.c (pop_getline): Rename from getline.
4030 4034
40311998-03-05 Richard Stallman <rms@psilocin.gnu.org> 40351998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4032 4036
@@ -4051,8 +4055,8 @@
4051 with a '>' any lines starting with "From " read from the POP server, 4055 with a '>' any lines starting with "From " read from the POP server,
4052 but leave the code in place, wrapped in #ifdef 4056 but leave the code in place, wrapped in #ifdef
4053 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later 4057 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4054 because it turns out that something is depending on it. Change 4058 because it turns out that something is depending on it.
4055 suggested by Paul Eggert <eggert@twinsun.com>. 4059 Change suggested by Paul Eggert <eggert@twinsun.com>.
4056 Convert the character \037 (^_) at the beginning of a line into 4060 Convert the character \037 (^_) at the beginning of a line into
4057 the character '^' followed by the character '_', because otherwise 4061 the character '^' followed by the character '_', because otherwise
4058 Emacs can't parse the resulting file as a valid BABYL file. 4062 Emacs can't parse the resulting file as a valid BABYL file.
@@ -4069,8 +4073,8 @@
4069 quotes with a '>' any lines starting with "From " read from the 4073 quotes with a '>' any lines starting with "From " read from the
4070 POP server, but leave the code in place, wrapped in #ifdef 4074 POP server, but leave the code in place, wrapped in #ifdef
4071 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later 4075 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4072 because it turns out that something is depending on it. Change 4076 because it turns out that something is depending on it.
4073 suggested by Paul Eggert <eggert@twinsun.com>. 4077 Change suggested by Paul Eggert <eggert@twinsun.com>.
4074 4078
4075 Convert the character \037 (^_) at the beginning of a line into 4079 Convert the character \037 (^_) at the beginning of a line into
4076 the character '^' followed by the character '_', because otherwise 4080 the character '^' followed by the character '_', because otherwise
@@ -4086,8 +4090,8 @@
4086 4090
40871997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 40911997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4088 4092
4089 * pop.c (fullwrite): Get rid of an extra call to write. Problem 4093 * pop.c (fullwrite): Get rid of an extra call to write.
4090 pointed out by Chiaki Ishikawa. 4094 Problem pointed out by Chiaki Ishikawa.
4091 4095
40921997-10-16 Dave Love <d.love@dl.ac.uk> 40961997-10-16 Dave Love <d.love@dl.ac.uk>
4093 4097
@@ -4227,8 +4231,8 @@
4227 (C_entries): Initialise tok.named. 4231 (C_entries): Initialise tok.named.
4228 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to 4232 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4229 get rid of "import", "package" and "friend". 4233 get rid of "import", "package" and "friend".
4230 (fvdef): Renamed from funcdef. Also some constants renamed. All 4234 (fvdef): Rename from funcdef. Also some constants renamed.
4231 users changed. 4235 All users changed.
4232 (C_entries): Make separate tags for variables separated by comma. 4236 (C_entries): Make separate tags for variables separated by comma.
4233 (globals, members): New flags. 4237 (globals, members): New flags.
4234 (main, C_entries): Use them. 4238 (main, C_entries): Use them.
@@ -4242,7 +4246,7 @@
4242 (consider_token, C_entries): Set the len member of token_name. 4246 (consider_token, C_entries): Set the len member of token_name.
4243 (prolog_pred): Cleanup according to GNU coding standards. 4247 (prolog_pred): Cleanup according to GNU coding standards.
4244 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support. 4248 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
4245 (prolog_white, erlang_white): Renamed to eat_white, callers changed. 4249 (prolog_white, erlang_white): Rename to eat_white, callers changed.
4246 4250
42471997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it> 42511997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4248 4252
@@ -4445,7 +4449,7 @@
4445 4449
4446 * etags.c (relative_filename): Bug corrected. 4450 * etags.c (relative_filename): Bug corrected.
4447 (etags_getcwd): Avoid warning of unused variable. 4451 (etags_getcwd): Avoid warning of unused variable.
4448 (C_entries, consider_token): Added support for enum labels. 4452 (C_entries, consider_token): Add support for enum labels.
4449 4453
44501996-11-03 Paul Eggert <eggert@twinsun.com> 44541996-11-03 Paul Eggert <eggert@twinsun.com>
4451 4455
@@ -4688,14 +4692,14 @@
4688 4692
46891996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu> 46931996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4690 4694
4691 * pop.c (SEND, RECV): Renamed from send, recv. 4695 * pop.c (SEND, RECV): Rename from send, recv.
4692 (pop_open, pop_trash): Make the trash_started code unconditional. 4696 (pop_open, pop_trash): Make the trash_started code unconditional.
4693 (socket_connection): Delete casts to void. 4697 (socket_connection): Delete casts to void.
4694 4698
46951996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu> 46991996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4696 4700
4697 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions 4701 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
4698 copied from lisp.h. 4702 Definitions copied from lisp.h.
4699 4703
47001996-04-22 Andrew Innes <andrewi@harlequin.co.uk> 47041996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4701 4705
@@ -4805,7 +4809,7 @@
4805 (lang_names): Erlang entry added. 4809 (lang_names): Erlang entry added.
4806 (prolog_getit): Accepts headers spanning several lines. 4810 (prolog_getit): Accepts headers spanning several lines.
4807 Always name tags. 4811 Always name tags.
4808 (Prolog_functions): Removed incorrect compensation for 4812 (Prolog_functions): Remove incorrect compensation for
4809 newline characters. 4813 newline characters.
4810 (readline_internal): Zero-terminate last line. 4814 (readline_internal): Zero-terminate last line.
4811 4815
@@ -4870,7 +4874,7 @@
4870 4874
48711995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> 48751995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4872 4876
4873 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE. 4877 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
4874 4878
48751995-12-07 Francesco Potortì <pot@cnuce.cnr.it> 48791995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
4876 4880
@@ -4887,11 +4891,11 @@
48871995-12-06 Francesco Potortì <pot@cnuce.cnr.it> 48911995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
4888 4892
4889 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++. 4893 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4890 (gperf): Added keywords for Objective C and GNU macros. 4894 (gperf): Add keywords for Objective C and GNU macros.
4891 (sym_type): Added values to account for Objective C and GNU macros. 4895 (sym_type): Add values to account for Objective C and GNU macros.
4892 (begtk): The '@' character can start a token. 4896 (begtk): The '@' character can start a token.
4893 (objdef, methodlen, objtag): New variables for Objective C. 4897 (objdef, methodlen, objtag): New variables for Objective C.
4894 (consider_token, C_entries): Added code for Objective C. 4898 (consider_token, C_entries): Add code for Objective C.
4895 (plain_C_suffixes): Add .m and .lm for Objective C. 4899 (plain_C_suffixes): Add .m and .lm for Objective C.
4896 (Yacc_suffixes): Add .ym for Objective yacc. 4900 (Yacc_suffixes): Add .ym for Objective yacc.
4897 (GROW_LINEBUFFER): New macro. 4901 (GROW_LINEBUFFER): New macro.
@@ -4932,8 +4936,8 @@
4932 4936
49331995-11-06 Francesco Potortì (pot@cnuce.cnr.it) 49371995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
4934 4938
4935 * etags.c (get_lang_from_name, get_lang_from_interpreter, 4939 * etags.c (get_lang_from_name, get_lang_from_interpreter)
4936 get_lang_from_suffix): New functions. 4940 (get_lang_from_suffix): New functions.
4937 (get_language): Function deleted. 4941 (get_language): Function deleted.
4938 (lang_entry): Two members added to struct. 4942 (lang_entry): Two members added to struct.
4939 (lang_names): Reflect the new layout of lang_entry. 4943 (lang_names): Reflect the new layout of lang_entry.
@@ -4948,12 +4952,12 @@
4948 * etags.c (lowcase): Use the standard tolower function. 4952 * etags.c (lowcase): Use the standard tolower function.
4949 (substitute): Remove some wrong and some useless code related with 4953 (substitute): Remove some wrong and some useless code related with
4950 escape '\' character in regexp replacement string. 4954 escape '\' character in regexp replacement string.
4951 (TEX_defenv): Added part, appendix, entry, index. Removed typeout. 4955 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
4952 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran; 4956 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4953 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp; 4957 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4954 .prolog for prolog (.pl removed). 4958 .prolog for prolog (.pl removed).
4955 (massage_name, etags_getcwd): Use lowcase instead of tolower. 4959 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4956 (C_entries, find_entries): Added comments about memory leakage. 4960 (C_entries, find_entries): Add comments about memory leakage.
4957 (add_node): Dead code removed. 4961 (add_node): Dead code removed.
4958 4962
49591995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> 49631995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
@@ -5195,7 +5199,7 @@
5195 5199
51961995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu> 52001995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5197 5201
5198 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS. 5202 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
5199 (alloca.o, regex.o): Use BASE_CFLAGS. 5203 (alloca.o, regex.o): Use BASE_CFLAGS.
5200 5204
52011995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu> 52051995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
@@ -5205,7 +5209,7 @@
52051995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu> 52091995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5206 5210
5207 * Makefile.in.in (aixcc, aixcc.c): Targets deleted. 5211 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
5208 (SOURCES, distclean): Removed obsolete references to aixcc. 5212 (SOURCES, distclean): Remove obsolete references to aixcc.
5209 5213
52101995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> 52141995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5211 5215
@@ -5248,7 +5252,7 @@
5248 savetok.valid. Mark token as valid when it is initialised. 5252 savetok.valid. Mark token as valid when it is initialised.
5249 (make_tag): Make token only if token is valid and reset validity. 5253 (make_tag): Make token only if token is valid and reset validity.
5250 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. 5254 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
5251 (TOKEN): Added a new member: valid. 5255 (TOKEN): Add a new member: valid.
5252 5256
52531995-02-15 Francesco Potortì (pot@cnuce.cnr.it) 52571995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
5254 5258
@@ -5270,12 +5274,12 @@
5270 5274
52711995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> 52751995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5272 5276
5273 * Makefile.in.in (maintainer-clean): Renamed from realclean. 5277 * Makefile.in.in (maintainer-clean): Rename from realclean.
5274 5278
52751995-02-01 Francesco Potortì (pot@cnuce.cnr.it) 52791995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
5276 5280
5277 * etags.c (pfnote): Initialise been_warned in the node. 5281 * etags.c (pfnote): Initialise been_warned in the node.
5278 (C_entries): Removed a speed hack for the sake of clarity. 5282 (C_entries): Remove a speed hack for the sake of clarity.
5279 5283
52801995-01-18 Francesco Potortì (pot@cnuce.cnr.it) 52841995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
5281 5285
@@ -5394,7 +5398,7 @@
5394 (print_help): Help strings updated. Calls print_language_names. 5398 (print_help): Help strings updated. Calls print_language_names.
5395 (argument_type, ARGUMENT): Typedefs for dealing with language and 5399 (argument_type, ARGUMENT): Typedefs for dealing with language and
5396 regex options intermixed with filenames. 5400 regex options intermixed with filenames.
5397 (main): Changed the way of dealing with arguments on the command 5401 (main): Change the way of dealing with arguments on the command
5398 line to deal with language and regex options intermixed with 5402 line to deal with language and regex options intermixed with
5399 filenames. 5403 filenames.
5400 (get_language, default_C_entries, Cplusplus_entries, 5404 (get_language, default_C_entries, Cplusplus_entries,
@@ -5483,8 +5487,8 @@
5483 5487
5484 * pop.c: Don't include <string.h> and <strings.h>. 5488 * pop.c: Don't include <string.h> and <strings.h>.
5485 5489
5486 * pop.c: Include <des.h> before <krb.h>, rather than after. They 5490 * pop.c: Include <des.h> before <krb.h>, rather than after.
5487 should be interchangeable, and indeed the inclusion is done in 5491 They should be interchangeable, and indeed the inclusion is done in
5488 both orders in various files in the Kerberos 4 library sources, 5492 both orders in various files in the Kerberos 4 library sources,
5489 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI 5493 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5490 requires that <des.h> be included first, and I don't see any harm 5494 requires that <des.h> be included first, and I don't see any harm
@@ -5514,8 +5518,8 @@
5514 5518
55151994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 55191994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5516 5520
5517 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't 5521 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
5518 call kill with pid 0. Handle EINTR when receiving messages. 5522 Don't call kill with pid 0. Handle EINTR when receiving messages.
5519 5523
55201994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu> 55241994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5521 5525
@@ -5546,7 +5550,7 @@
5546 * Makefile.in.in (clean): rm DOC* and *.tab.[ch]. 5550 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5547 (distclean): Not here. 5551 (distclean): Not here.
5548 5552
5549 * Makefile.in.in (libexecdir): Renamed from libdir. 5553 * Makefile.in.in (libexecdir): Rename from libdir.
5550 5554
55511994-10-11 Francesco Potortì (pot@cnuce.cnr.it) 55551994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
5552 5556
@@ -5776,7 +5780,7 @@
5776 print advice to run it, if it has anything significant to do. 5780 print advice to run it, if it has anything significant to do.
5777 And only if MOVEMAIL_NEEDS_BLESSING. 5781 And only if MOVEMAIL_NEEDS_BLESSING.
5778 (blessmail): Use emacs, not temacs. 5782 (blessmail): Use emacs, not temacs.
5779 (configuration): Renamed from configname. 5783 (configuration): Rename from configname.
5780 5784
57811994-04-30 Morten Welinder (terra@diku.dk) 57851994-04-30 Morten Welinder (terra@diku.dk)
5782 5786
@@ -5860,15 +5864,15 @@
5860 5864
58611994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it) 58651994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
5862 5866
5863 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir. 5867 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
5864 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs) 5868 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5865 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions, 5869 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
5866 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions, 5870 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5867 TeX_functions, Prolog_functions. 5871 TeX_functions, Prolog_functions.
5868 (inf): No more a global variable. 5872 (inf): No more a global variable.
5869 (C_entries): Take 2nd parameter `inf' instead of using the global one. 5873 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5870 (find_entries): Added the cp1 var for optimisation. 5874 (find_entries): Add the cp1 var for optimisation.
5871 (find_entries): Added more suffixes for assembler files. 5875 (find_entries): Add more suffixes for assembler files.
5872 (Asm_funcs): Now finds labels even without an ending colon. 5876 (Asm_funcs): Now finds labels even without an ending colon.
5873 5877
58741994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it) 58781994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
@@ -5896,7 +5900,7 @@
5896 (process_file): Filenames in tags file are relative to the 5900 (process_file): Filenames in tags file are relative to the
5897 directory where the tags file is (useful with the -o option). 5901 directory where the tags file is (useful with the -o option).
5898 (main): Initialise the outfiledir var. 5902 (main): Initialise the outfiledir var.
5899 (TYPEDST): Added the `tignore' value. 5903 (TYPEDST): Add the `tignore' value.
5900 (C_entries): Corrected various small bugs. 5904 (C_entries): Corrected various small bugs.
5901 5905
59021994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) 59061994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
@@ -5912,7 +5916,7 @@
5912 5916
59131994-03-14 Francesco Potortì (pot@cnuce.cnr.it) 59171994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
5914 5918
5915 * etags.c (TYPEDST): Added the `tignore' value. 5919 * etags.c (TYPEDST): Add the `tignore' value.
5916 (C_entries): Corrected various bugs, now correctly parses the 5920 (C_entries): Corrected various bugs, now correctly parses the
5917 `extern "C" {' construction (patch by Tom R.Hageman). 5921 `extern "C" {' construction (patch by Tom R.Hageman).
5918 5922
@@ -5966,7 +5970,7 @@
5966 5970
59671994-02-14 Francesco Potortì (pot@fly) 59711994-02-14 Francesco Potortì (pot@fly)
5968 5972
5969 * etags.c (absolute_pathnames, cwd): Added global vars. 5973 * etags.c (absolute_pathnames, cwd): Add global vars.
5970 (longopts, print_help, main, process_file): Put absolute filenames 5974 (longopts, print_help, main, process_file): Put absolute filenames
5971 in the tag file if the -A --absolute-pathnames option is used. 5975 in the tag file if the -A --absolute-pathnames option is used.
5972 (print_help): Alphabetically order the options. 5976 (print_help): Alphabetically order the options.
@@ -6003,7 +6007,7 @@
6003 Use gperf generated hash table instead of linked list. 6007 Use gperf generated hash table instead of linked list.
6004 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added. 6008 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
6005 Mostly code generated by gperf. 6009 Mostly code generated by gperf.
6006 (consider_token): Removed unused parameter `lp'. 6010 (consider_token): Remove unused parameter `lp'.
6007 (PF_funcs, getit): Allow subroutine and similar declarations 6011 (PF_funcs, getit): Allow subroutine and similar declarations
6008 to span multiple lines. 6012 to span multiple lines.
6009 (C_entries): Check for newline if inchar to avoid bus errors. 6013 (C_entries): Check for newline if inchar to avoid bus errors.
@@ -6150,7 +6154,7 @@
6150 6154
61511993-11-02 Francesco Potortì (pot@cnuce.cnr.it) 61551993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
6152 6156
6153 * etags.c (consider_token): Removed unused variable firsttok. 6157 * etags.c (consider_token): Remove unused variable firsttok.
6154 (prolog_getit): Call pfnote with the right number of arguments. 6158 (prolog_getit): Call pfnote with the right number of arguments.
6155 6159
61561993-10-19 Paul Eggert (eggert@twinsun.com) 61601993-10-19 Paul Eggert (eggert@twinsun.com)
@@ -6180,13 +6184,13 @@
6180 from current directory. Only chmod and chgrp files that we 6184 from current directory. Only chmod and chgrp files that we
6181 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in 6185 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6182 ${bindir}. 6186 ${bindir}.
6183 (INSTALLFLAGS): Deleted definition, since it is an unused variable 6187 (INSTALLFLAGS): Delete definition, since it is an unused variable
6184 now. 6188 now.
6185 6189
61861993-09-27 Brian J. Fox (bfox@ai.mit.edu) 61901993-09-27 Brian J. Fox (bfox@ai.mit.edu)
6187 6191
6188 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let 6192 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6189 configure figure out the correct values for these variables. 6193 Let configure figure out the correct values for these variables.
6190 6194
61911993-09-14 Brian J. Fox (bfox@ai.mit.edu) 61951993-09-14 Brian J. Fox (bfox@ai.mit.edu)
6192 6196
@@ -6271,7 +6275,7 @@
6271 6275
62721993-07-30 Francesco Potortì (pot@cnuce.cnr.it) 62761993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
6273 6277
6274 * etags.c (FINCST): Added the fignore status. Means we are 6278 * etags.c (FINCST): Add the fignore status. Means we are
6275 after the parameter list and before the open curly brace. 6279 after the parameter list and before the open curly brace.
6276 Allows correct parsing of C++ constructors. 6280 Allows correct parsing of C++ constructors.
6277 (C_entries, consider_token): Make use of fignore. 6281 (C_entries, consider_token): Make use of fignore.
@@ -6310,7 +6314,7 @@
6310 6314
63111993-07-08 Francesco Potortì (pot@cnuce.cnr.it) 63151993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
6312 6316
6313 * etags.c (alloca): Removed all references to it. 6317 * etags.c (alloca): Remove all references to it.
6314 (main): Now calls xnew instead of alloca for portability. 6318 (main): Now calls xnew instead of alloca for portability.
6315 (../src/config.h): Included only if HAVE_CONFIG_H. 6319 (../src/config.h): Included only if HAVE_CONFIG_H.
6316 (const): Void definition removed--config.h takes care of it. 6320 (const): Void definition removed--config.h takes care of it.
@@ -6322,7 +6326,7 @@
6322 6326
6323 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed. 6327 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6324 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF. 6328 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
6325 (C_entries): Removed a piece of useless code. 6329 (C_entries): Remove a piece of useless code.
6326 (C_entries): Making typedef tags is delayed until a semicolon 6330 (C_entries): Making typedef tags is delayed until a semicolon
6327 is met. This handles "typedef int X, Y, Z;" correctly. 6331 is met. This handles "typedef int X, Y, Z;" correctly.
6328 6332
@@ -6584,7 +6588,7 @@
6584 6588
65851993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) 65891993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6586 6590
6587 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS. 6591 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
6588 6592
65891993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) 65931993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6590 6594
@@ -6606,7 +6610,7 @@
6606 (get_C_stab): c_ext becomes c_ext&C_PLPL. 6610 (get_C_stab): c_ext becomes c_ext&C_PLPL.
6607 (C_entries): Logical cplpl means c_ext&C_PLPL. 6611 (C_entries): Logical cplpl means c_ext&C_PLPL.
6608 (C_entries): Logical yacc_rules means we are after the first %%. 6612 (C_entries): Logical yacc_rules means we are after the first %%.
6609 (C_entries): Added logic for yacc files. 6613 (C_entries): Add logic for yacc files.
6610 6614
66111993-03-16 Francesco Potortì (pot@cnuce.cnr.it) 66151993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
6612 6616
@@ -6624,7 +6628,7 @@
6624 (TOKEN): Member linestart removed. 6628 (TOKEN): Member linestart removed.
6625 (linepos, prev_linepos, lb1): Deleted. 6629 (linepos, prev_linepos, lb1): Deleted.
6626 (main): Call initbuffer on lbs array instead of lb1. 6630 (main): Call initbuffer on lbs array instead of lb1.
6627 (init): Removed the initialisation of the logical _gd array. 6631 (init): Remove the initialisation of the logical _gd array.
6628 (find_entries): A .sa suffix means assembler file. 6632 (find_entries): A .sa suffix means assembler file.
6629 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec. 6633 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6630 All C state machines rewritten. 6634 All C state machines rewritten.
@@ -6634,7 +6638,7 @@
6634 6638
66351993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT) 66391993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
6636 6640
6637 * etags.c (C_entries): Added the quotednl logical variable. 6641 * etags.c (C_entries): Add the quotednl logical variable.
6638 Used for parsing of #define's spanning multiple lines. 6642 Used for parsing of #define's spanning multiple lines.
6639 6643
66401993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT) 66441993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
@@ -6644,7 +6648,7 @@
6644 6648
66451993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) 66491993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6646 6650
6647 * Makefile.in (EXECUTABLES): Added rcs-checkin. 6651 * Makefile.in (EXECUTABLES): Add rcs-checkin.
6648 6652
6649 * Makefile.in (unlock, relock): New productions. 6653 * Makefile.in (unlock, relock): New productions.
6650 6654
@@ -6705,7 +6709,7 @@
6705 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too. 6709 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6706 6710
6707 * Makefile.in (libdir): Default to ${prefix}/lib. 6711 * Makefile.in (libdir): Default to ${prefix}/lib.
6708 (archlibdir): Adjusted to match. 6712 (archlibdir): Adjust to match.
6709 6713
6710 * Makefile.in (distclean): Don't delete backup or autosave files. 6714 * Makefile.in (distclean): Don't delete backup or autosave files.
6711 (extraclean): Like realclean, but does delete backup and autosave 6715 (extraclean): Like realclean, but does delete backup and autosave
@@ -6740,7 +6744,7 @@
6740 6744
67411992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu) 67451992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6742 6746
6743 * Makefile.in (getdate.o): Added explicit target for this, so we 6747 * Makefile.in (getdate.o): Add explicit target for this, so we
6744 can indicate that it depends on ../src/config.h. 6748 can indicate that it depends on ../src/config.h.
6745 6749
67461992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) 67501992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
@@ -6808,7 +6812,7 @@
6808 array. When an event fires, move the last event in the array into 6812 array. When an event fires, move the last event in the array into
6809 its spot. Use num_events to determine whether or not there are 6813 its spot. Use num_events to determine whether or not there are
6810 any pending events, not wait_for. 6814 any pending events, not wait_for.
6811 (getevent): Deleted unused variable `ep'. 6815 (getevent): Delete unused variable `ep'.
6812 (sigcatch): It's now easier to find all the active events. 6816 (sigcatch): It's now easier to find all the active events.
6813 (main): Initialize num_events. 6817 (main): Initialize num_events.
6814 6818
@@ -6821,7 +6825,7 @@
6821 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env, 6825 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6822 TEX_getit, substr): Use the etags_*index functions, rather than 6826 TEX_getit, substr): Use the etags_*index functions, rather than
6823 the native *index functions. 6827 the native *index functions.
6824 (rindex, index): Renamed to etags_rindex and tags_rindex, and 6828 (rindex, index): Rename to etags_rindex and tags_rindex, and
6825 made them unconditionally defined, rather than having them depend 6829 made them unconditionally defined, rather than having them depend
6826 on NEED_*INDEX. 6830 on NEED_*INDEX.
6827 6831
@@ -6908,7 +6912,7 @@
6908 6912
69091992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu) 69131992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6910 6914
6911 * etags.c (C_entries): Fixed reading of "..." strings. 6915 * etags.c (C_entries): Fix reading of "..." strings.
6912 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in 6916 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6913 the C library source. 6917 the C library source.
6914 6918
@@ -6936,7 +6940,7 @@
6936 6940
69371992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu) 69411992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6938 6942
6939 * timer.c (getevent): Removed declaration of memcpy; since 6943 * timer.c (getevent): Remove declaration of memcpy; since
6940 different systems have different return types, and we're not even 6944 different systems have different return types, and we're not even
6941 using the return type anyway, it wasn't doing us any good. 6945 using the return type anyway, it wasn't doing us any good.
6942 6946
@@ -6971,7 +6975,7 @@
6971 6975
69721992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu) 69761992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6973 6977
6974 * etags.c (C_entries): Removed comment saying that \" in a string 6978 * etags.c (C_entries): Remove comment saying that \" in a string
6975 isn't recognized as magic, because it is correctly handled. 6979 isn't recognized as magic, because it is correctly handled.
6976 6980
6977 * getopt.c, getopt.h: New files, from GNU C library. 6981 * getopt.c, getopt.h: New files, from GNU C library.
@@ -6981,8 +6985,8 @@
6981 optind. 6985 optind.
6982 (main): Argument processing loop rewritten to call getopt to get 6986 (main): Argument processing loop rewritten to call getopt to get
6983 next option. Options which take parameters (-o and -i) rewritten 6987 next option. Options which take parameters (-o and -i) rewritten
6984 to get parameter from optarg instead of argv[1]. Filename 6988 to get parameter from optarg instead of argv[1].
6985 preprocessing loop and update command changed similarly. 6989 Filename preprocessing loop and update command changed similarly.
6986 * Makefile (etags, ctags): Depend on and link with getopt.h, 6990 * Makefile (etags, ctags): Depend on and link with getopt.h,
6987 getopt.o, and getopt1.o. 6991 getopt.o, and getopt1.o.
6988 (getopt.o, getopt1.o): New targets for the GNU getopt routines. 6992 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
@@ -7123,8 +7127,8 @@
71231991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu) 71271991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
7124 7128
7125 * make-docfile: Find the arguments to a C function correctly, 7129 * make-docfile: Find the arguments to a C function correctly,
7126 by not ignoring the character that read_c_string returns. Don't 7130 by not ignoring the character that read_c_string returns.
7127 even try to find argument names for functions that take MANY 7131 Don't even try to find argument names for functions that take MANY
7128 or UNEVALLED arguments, since they're a figment of the docstring's 7132 or UNEVALLED arguments, since they're a figment of the docstring's
7129 imagination. 7133 imagination.
7130 7134
@@ -7512,8 +7516,8 @@
7512 7516
75131988-05-13 Chris Hanson (cph@kleph) 75171988-05-13 Chris Hanson (cph@kleph)
7514 7518
7515 * emacsclient.c: Delete references to unused variable `out'. This 7519 * emacsclient.c: Delete references to unused variable `out'.
7516 caused a bus error when used under hp-ux. 7520 This caused a bus error when used under hp-ux.
7517 7521
75181988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu) 75221988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
7519 7523
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index e5484b987e2..3670e68e3b3 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1708,10 +1708,21 @@ main (int argc, char **argv)
1708 fsync (1); 1708 fsync (1);
1709 1709
1710 /* Now, wait for an answer and print any messages. */ 1710 /* Now, wait for an answer and print any messages. */
1711 while (exit_status == EXIT_SUCCESS 1711 while (exit_status == EXIT_SUCCESS)
1712 && (rl = recv (emacs_socket, string, BUFSIZ, 0)) > 0)
1713 { 1712 {
1714 char *p; 1713 char *p;
1714 do
1715 {
1716 errno = 0;
1717 rl = recv (emacs_socket, string, BUFSIZ, 0);
1718 }
1719 /* If we receive a signal (e.g. SIGWINCH, which we pass
1720 through to Emacs), on some OSes we get EINTR and must retry. */
1721 while (rl < 0 && errno == EINTR);
1722
1723 if (rl <= 0)
1724 break;
1725
1715 string[rl] = '\0'; 1726 string[rl] = '\0';
1716 1727
1717 p = string + strlen (string) - 1; 1728 p = string + strlen (string) - 1;