1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00
Commit Graph

535 Commits

Author SHA1 Message Date
Richard M. Stallman
a8f44d07f9 (getline): Don't miss CRLF pairs when the CR and LF are
read in separate blocks.
1997-05-06 19:30:49 +00:00
Francesco Potortì
e0903a92ea * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
(struct linebuffer): New member `len' is the length of the string.
	(find_entries, Pascal_functions, TeX_functions, TEX_getit):
	Use it instead of strlen.
	(TEX_getit): Declare and define unconditionally as static.
	(TeX_functions): Use if instead of #if TeX_named_tokens.
	(add_regex): Set RE_INTERVALS flag for regex compilation.
	(substitute): Code cleanup.
	(readline_internal): Code cleanup, set new member `len'.
	(readline): Bug corrected.
1997-04-30 14:57:39 +00:00
Geoff Voelker
26d937566b Change references of windowsnt.h to ms-w32.h.
(obj): Change references of nt*.c files to w32*.c files.
1997-04-23 22:23:44 +00:00
Paul Eggert
49fb579912 automatically generated from GPLed version 1997-04-18 00:48:01 +00:00
Francesco Potortì
2f608d34a6 Tue Apr 15 16:09:15 1997 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c (xnew): Add support for debugging with chkmalloc.
	(error): Use this instead of printf whenever possible.
	(main): Only call xnew after having initialised progname.
	(substitute): Bad memory corruption error corrected.
	* etags.c (add_regex): Undo previous change.
	(relative_filename): Small memory leak closed.
	(absolute_filename): Cleaned up the code, possibly closing a bug.
	(absolute_dirname): Always return a newly allocated string.
1997-04-15 14:50:46 +00:00
Paul Eggert
6ef88a0a80 (initialize_fullname): Set NIS_PATH to the empty string before invoking
nismatch, in case it's set to some nonstandard value.
1997-03-23 18:46:03 +00:00
Paul Eggert
8fd927907b (files): Ignore files in RCS directory whose names are of the form ,*,
or *_; they are probably RCS lock files.  Also, ignore files named
.rcsfreeze.log or .rcsfreeze.ver; they are used by rcsfreeze.
1997-03-21 22:12:24 +00:00
Francesco Potortì
85e77a3fcf * etags.c (add_regex): reset *putbuf before using it. 1997-03-17 10:25:53 +00:00
Karl Heuer
ff804ff548 (popmail): Remove some unnecessary function
declarations.
(popmail, pop_retr): Since popmail always passes mbx_write and mbf
into pop_retr, there's no reason to pass in mbx_write, and the
file argument can be declared FILE * explicitly.  This fixes a
compilation problem on systems with 64-bit pointers.
1997-02-23 08:47:57 +00:00
Karl Heuer
b89d503573 Delete duplicate inclusion of fcntl.h
and duplicate #undefs of open, read, write, close.
1997-02-14 00:07:22 +00:00
Paul Eggert
8896e42c9c automatically generated from GPLed version 1997-01-23 04:23:12 +00:00
Paul Eggert
bae473ad6c automatically generated from GPLed version 1997-01-22 05:25:31 +00:00
Richard M. Stallman
7c1b57782a (movemail)): Link with getopt. 1997-01-21 01:55:08 +00:00
Richard M. Stallman
fea4325c82 (main): Do not display "[POP-password]" in the usage
message when movemail is compiled without POP support.
(main, popmail): Add the optional "-p" argument, which causes
movemail to leave mail in the inbox after copying it into the
output file.
1997-01-21 01:54:39 +00:00
Paul Eggert
77851e9c30 --help, --version: New options, for conformance to GNU coding standards.
(Copyright, Help, Id): New variables, for above.
(rlog): Use -q option with cvs log, to avoid useless chatter.

Treat logs of "Initial revision" (RCS) or "file F was initially added
on branch B." (CVS) as if they said "New file.", for consistency with
change log entries.
1997-01-20 09:03:05 +00:00
Richard M. Stallman
a4deff3cac Include maillock.h (conditionally).
Remove a redundant inclusion of <stdio.h>.
(MAIL_USE_MAILLOCK): New macro, conditionally defined.
(main): Add variable spool_name.
Support the usage of maillock and mailunlock to
lock and unlock mailboxes.
(mail_spool_name): New function.
1997-01-20 07:30:40 +00:00
Paul Eggert
7509d39795 (PATH): Add /usr/xpg4/bin,
where XPG4 SCCS hangs out in Solaris 2.5.
(sid1): Don't use bare -r, since XPG4 `get' does not allow it.
1997-01-01 05:33:42 +00:00
Richard M. Stallman
370e3d9d64 (streq, strneq): Use == NULL rather than !. 1996-12-19 22:02:55 +00:00
Richard M. Stallman
6e3dda29a4 (LIBMAIL): New macro. Conditionally includes -lmail.
(movemail): Use LIBMAIL, to link against -lmail.
1996-12-18 18:15:30 +00:00
Richard M. Stallman
6a7eabe0c6 (socket_connection): Free realhost after using it. 1996-12-16 06:01:18 +00:00
Francesco Potortì
086eac130a * etags.c (C_entries): Test tok.valid. This handles some
particular cases involving function declarations that failed.
	* etags.c (pfnote, fatal, error): Callers using a NULL pointer
	must cast it to (char *) because we have no prototypes.
	(make_C_tag): Macro deleted, new function.
	(C_entries): Calls to make_C_tag macro changed to call function.
1996-12-04 10:57:01 +00:00
Charles Hannum
51a66525e8 gethostbyname() may return a pointer to static data, which is
overwritten deep inside krb_realmofhost().  Copy the host name to
avoid conflicts.
1996-11-21 20:47:59 +00:00
Francesco Potortì
3f1c8fcdfc Wed Nov 13 17:51:29 1996 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c (grow_linebuffer): New function.
	(GROW_LINEBUFFER): Macro deleted.  All callers changed.
	(make_tag): Macro renamed to make_C_tag.  All callers changed.
	(<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
	(Prolog_functions): prolog_skip_comment was called with wrong
	number of arguments.
	(xrealloc): fatal was called with wrong number of arguments
1996-11-13 17:02:40 +00:00
Francesco Potortì
3ca80e28b6 * etags.c (relative_filename): Bug corrected.
(etags_getcwd): Avoid warning of unused variable.
	(C_entries, consider_token): Added support for enum labels.
1996-11-08 13:30:38 +00:00
Paul Eggert
7e02c4ddef When processing cvs log output, remove `Attic/' from repository file names. 1996-11-03 17:09:27 +00:00
Karl Heuer
3bd8b59d60 Fix 1996-09-02 change. 1996-10-22 17:34:26 +00:00
Paul Eggert
6fbe22d865 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
revisions, since some hosts reject 1970-01-01 when east of UTC.
(date): Remove.
1996-10-13 05:59:42 +00:00
Paul Eggert
30fc6c655c (rlog_options): Look for ' option' rather than 'unknown option',
since CVS says 'invalid option'.
1996-10-12 17:24:45 +00:00
Richard M. Stallman
ae178a12ea (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes. 1996-10-06 19:50:49 +00:00
Francesco Potortì
b6b4884680 * etags.c (print_version): Print copyright info.
* etags.c (print_help): Print the bug reporting address.
	(main): Use return as the last instruction, instead of exit.
	* etags.c (main): Don't open the tags file in cxref mode.
1996-10-02 14:01:24 +00:00
Paul Eggert
aa7c3349af (date): Make default format acceptable to CVS post v1.8
as well as earlier CVSs and RCS.
1996-09-30 22:15:13 +00:00
Richard M. Stallman
2502581572 (main): If the lock call fails with EBUSY or
EAGAIN, retry a few times.
1996-09-29 22:45:55 +00:00
Paul Eggert
f41c4842c0 (rlog_options): Use $rlog, not rlog, when deciding whether to append -zLT. 1996-09-25 09:53:56 +00:00
Karl Heuer
e397a0172f Replaced all BSD with BSD_SYSTEM. 1996-09-17 02:37:17 +00:00
Richard M. Stallman
749ae7700e (longopts): Change nowait to no-wait.
(print_help_and_exit): Fix option name; upcase metavars.
1996-09-10 02:00:27 +00:00
Erik Naggum
4893a43797 (main): Declare `fromlen' as size_t, undo previous change. 1996-09-07 01:06:09 +00:00
Richard M. Stallman
37de9e5d47 (main): Declare `fromunix' as size_t. 1996-09-04 15:20:19 +00:00
Richard M. Stallman
0d1841a634 Whitespace fix. 1996-09-04 15:17:16 +00:00
Richard M. Stallman
6469b6d26b (etags_getcwd): Use getcwd if available even if MSDOS. 1996-09-03 18:36:55 +00:00
Richard M. Stallman
f1db6a73ef (quote_file_name): Quote with &, not \.
Quote `-' only at start of file name.  Terminate the value string.
1996-09-02 17:43:32 +00:00
Richard M. Stallman
8fb25e2680 Include signal.h properly;
delete the duplicate includes for it.
1996-09-02 05:45:58 +00:00
Richard M. Stallman
d8888efa0f On fatal signal, delete socket-file:
Include signal.h.
(xmalloc, fatal, error): New functions.
(delete_socket, handle_signals): New functions.
(progname, socket_name): New variables.
[HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
1996-09-02 05:39:36 +00:00
Richard M. Stallman
5212210c8f (quote_file_name): New function.
(main, both versions): Use quote_file_name.
(decode_options): Don't return a value.
(main, both versions): Use optind.
Don't check for -nowait here.
1996-09-02 00:05:56 +00:00
Richard M. Stallman
deec6f9958 (emacsclient): Link with getopt.
Add -DVERSION so emacsclient knows its version number.
1996-09-01 18:25:38 +00:00
Richard M. Stallman
8f9aaa0a81 (decode_options): New function.
(main, both versions): Call decode_options.
(print_help_and_exit): New function.
(VERSION): New macro
1996-09-01 18:25:21 +00:00
Richard M. Stallman
3a5a5199c7 (lisp): Include dos-nt.elc. 1996-09-01 06:49:07 +00:00
Richard M. Stallman
11c626be44 (blessmail): Use $srcdir to find blessmail.el. 1996-08-31 23:47:10 +00:00
Richard M. Stallman
292d74a338 (both versions): Handle -nowait and --nowait by sending data to the server. 1996-08-31 16:25:21 +00:00
Richard M. Stallman
ae6ed0acbb (INSTALL_STRIP): New variable.
(${archlibdir}): Use INSTALL_STRIP.

(MOVE_LIBS): Use conditionals on KERBEROS,
HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
1996-08-28 15:52:48 +00:00
Richard M. Stallman
6fd14a091c (MOVE_LIBS): Use conditionals on
KERBEROS, HAVE_LIBKRB and HAVE_LIBDES to set it up.
1996-08-26 21:33:49 +00:00