1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 19:00:55 -08:00
Commit graph

1676 commits

Author SHA1 Message Date
Richard M. Stallman
b6606ad821 (getline): When a search of already-read input for CRLF
fails, store the fact that we've searched it and don't search it
again after reading more data.

(getline): When determining whether or not it's necessary
to grow the input buffer, take into account the null that's stored
at the end of already-read input in the buffer.
1994-10-24 04:41:21 +00:00
Richard M. Stallman
a27897c9ac (main): Don't process one input file twice.
Never use exit code > 1.
1994-10-21 20:31:43 +00:00
Francesco Potortì
715b6f8c4e * etags.c (prestr, substr): return a logical type.
(consider_token): Comment out "EXFUN".  Use "DEFUN" instead of "DEF".
	(consider_token): set funcdef to fignore when a DEFUN is met.
	(C_entries): Now we can use Tom Hageman patch for extern "C".
1994-10-21 12:28:55 +00:00
Richard M. Stallman
b32701a7ff PopServer renamed to popserver throughout. 1994-10-20 20:35:57 +00:00
David J. MacKenzie
25b4690733 Don't declare malloc, since we include config.h. 1994-10-20 16:37:04 +00:00
Richard M. Stallman
8148baf912 Only include ../src/config.h if HAVE_CONFIG_H is
defined, and if HAVE_CONFIG_H isn't defined, define
MAIL_USE_POP always (so that this file can be included in
other programs besides emacs).

Only declare h_errno if HAVE_H_ERRNO isn't defined or
HAVE_CONFIG_H isn't defined.

(find_crlf, getline): Instead of using strstr, use a
custom function for finding CRLF.
(my_strstr): Function deleted.
1994-10-19 22:52:57 +00:00
Richard M. Stallman
1a9654a0c3 Don't declare malloc. 1994-10-19 22:49:37 +00:00
David J. MacKenzie
ca452d5f79 Use test -r instead of < to check readability, to avoid syntax error. 1994-10-19 21:27:58 +00:00
Richard M. Stallman
625ad89f2a Fix mismatch in conditionals. 1994-10-18 23:50:10 +00:00
Richard M. Stallman
6d68310438 (open, close, read, write): Add #undefs. 1994-10-18 19:09:07 +00:00
Richard M. Stallman
b8a0f2d8ab [SYSV_IPC] (main): Catch SIGHUP as well. Don't
call kill with pid 0.  Handle EINTR when receiving messages.
1994-10-18 11:23:18 +00:00
Richard M. Stallman
c9c3d8f648 Include ../src/config.h. 1994-10-18 07:36:39 +00:00
Richard M. Stallman
7a481e50f6 Don't declare malloc, realloc, free.
Don't include string.h or strings.h.
Include des.h before krb.h.
Do declare my_strstr.
(getline): Really use my_strstr.
Leave one empty place in server->buffer,
and put a null at the end of the data in it.
1994-10-18 07:34:59 +00:00
Karl Heuer
3412f30312 (regex.o): Use full path to find regex.c. 1994-10-17 20:56:18 +00:00
Karl Heuer
66ab94d9bb (etags): add dependency on regex.o, link with it.
(REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
1994-10-17 20:26:22 +00:00
David J. MacKenzie
2d521ee66b remove make-path 1994-10-12 23:28:43 +00:00
David J. MacKenzie
340ff9deae Eliminate some -Wall warnings. 1994-10-12 20:21:51 +00:00
David J. MacKenzie
e2f9d9afab Make functions that return nothing void, not implicitly int.
(main): Improve usage message.
(error): Write to stderr, not stdout.
1994-10-12 19:20:24 +00:00
Richard M. Stallman
424b6d2bf8 (libexecdir): Renamed from libdir. 1994-10-11 21:38:59 +00:00
Richard M. Stallman
1e8259bb0b (clean): rm DOC/* and *.tab.[ch].
(distclean): Not here.
1994-10-11 21:22:28 +00:00
Francesco Potortì
7e5c230dc5 * etags.c (C_entries): Name the #define's that are macros. 1994-10-11 13:04:30 +00:00
Roland McGrath
86af296ba1 [! SYSVIPC] (main): Fix uses of FD_* macros: fd_set arg is a pointer,
descriptor arg comes first.
1994-10-10 04:55:59 +00:00
Francesco Potortì
ee70dba589 * etags.c (C_entries): Recognise typedef of ANSI style functions.
(C_entries): Recognise #define inside a struct.
	(C_entries): ANSI tells that preprocessor commands do not have to
	start on the first column.
	(print_help): Documentation corrected for -d and -D.
	(white, endtk): ANSI tells the vertical tab is a separator.
1994-09-30 17:18:24 +00:00
Richard M. Stallman
9c0f2dac9b Initial revision 1994-09-27 19:49:25 +00:00
Richard M. Stallman
2e82e3c30a Improve POP code, move most of it into a separate file.
(mbx_delimit_end, mbx_delimit_begin): Check for errors.
(mbx_write): Check for errors and for From line.
(pop_retr, popmail): Use subroutines in pop.c to do the real work.
(get_errmsg, multiline, getline, putline, pop_stat, pop_command)
(pop_init): Functions deleted.
1994-09-27 19:45:00 +00:00
Richard M. Stallman
81f940520e (MOVE_FLAGS, MOVE_LIBS): New variables.
(pop.o, movemail.o): New targets.
(movemail): Link in pop.o and movemail.o.  Use MOVE_LIBS, MOVE_FLAGS.
1994-09-27 19:43:07 +00:00
Richard M. Stallman
cc162c5306 (touchy_mkdir): Make dir ugo+re even if it isn't new.
Rename path to dirname.
1994-09-24 01:48:04 +00:00
Richard M. Stallman
5aae660113 (UTILITIES): Remove test-distrib, make-docfile, make-path.
(DONT_INSTALL): New variable--list those files here.
(clean): Delete the files in DONT_INSTALL.
1994-09-23 05:42:40 +00:00
Richard M. Stallman
128ba46c13 (from, labels, data): Use MAX_DATA_LEN as length.
(main): Use fgets, not gets.
1994-09-21 03:23:32 +00:00
Richard M. Stallman
5afc7fb0ba Don't declare malloc. 1994-09-17 05:50:17 +00:00
Karl Heuer
b38bab94e5 (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already defined, use simple
32-bit versions of these macros.
(main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
1994-09-17 00:02:50 +00:00
Karl Heuer
5e9c82960a (etags_getcwd): Use getcwd if available. 1994-09-16 21:16:20 +00:00
Paul Eggert
7a833f0baf Add support for CVS.
Work with `rlog's that output ISO 8601 dates.
1994-08-15 22:44:10 +00:00
Richard M. Stallman
9fa6ed8fd4 Use <> to delimit email address. 1994-08-09 20:43:48 +00:00
Richard M. Stallman
2f3179987f [SYSV_IPC] (main): Make a separate process
so we can listen for multiple requests.
1994-08-08 07:08:17 +00:00
Richard M. Stallman
3b9ee81953 Include config.h first thing. 1994-08-04 23:15:35 +00:00
Richard M. Stallman
ae24c599eb (main): Add casts to avoid warnings. 1994-08-01 07:43:30 +00:00
Richard M. Stallman
ad600343fb (${archlibdir}): Compare the proper dir
before installing the scripts.
1994-07-29 20:33:17 +00:00
Richard M. Stallman
defb80d7ad (main): New local var progname saves argv[0]. 1994-07-27 17:59:03 +00:00
Richard M. Stallman
cd33a5a086 (main): Don't actually modify argv[0]. Modify a copy instead. 1994-07-26 19:56:03 +00:00
Richard M. Stallman
89b3f89419 Add #undef alloca. 1994-07-25 23:26:23 +00:00
Richard M. Stallman
72ddb82c49 (reset_watch, get_time): Use EMACS_GET_TIME.
(tzp): Var deleted.
1994-07-25 23:21:24 +00:00
Richard M. Stallman
20e15dfd12 (xmalloc): New function. 1994-07-13 19:10:27 +00:00
Richard M. Stallman
20cda85bbe (ALLOCA_CFLAGS): New variable.
(alloca.o): New target.
1994-07-12 01:18:53 +00:00
Francesco Potortì
0c1fd2e389 * etags.c (main): Don't barf on obsolete -t and -T switches.
(main): Print an explicative message when a switch is not known.
	(takeprec): recognise the `character*(*) function' syntax.
1994-07-08 10:31:16 +00:00
Richard M. Stallman
3dc64903b8 Don't declare exit or perror. 1994-06-23 19:27:56 +00:00
Richard M. Stallman
f662f9b05b (main): Don't declare geteuid.
Don't declare getenv if convex.
1994-06-23 19:26:02 +00:00
Richard M. Stallman
35ebc5cf90 (rootrelativepath) [MSDOS]: Define, expanding to dynamic
location of data directory.
1994-06-07 15:19:33 +00:00
Richard M. Stallman
c88a7f88e3 (test-distrib): Use ALL_CFLAGS. 1994-06-07 07:30:58 +00:00
Francesco Potortì
e9b2b94cd6 * etags.c (absolute_filename): Remove infinite loop bug when
accessing files in directories whose name begins with a dot.
1994-06-03 17:10:42 +00:00