1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
Dan Nicolaescu
e39a993cce * movemail.c:
* make-docfile.c: Remove reference to symbols defined by systems
not supported anymore: MAC_OS8, XENIX and STRIDE.

* (src/m/mips.h):
* (src/m/intel386.h):
* callproc.c:
* config.in:
* ecrt0.c:
* emacs.c:
* fileio.c:
* frame.c:
* getpagesize.h:
* keyboard.c:
* lread.c:
* process.c:
* puresize.h:
* sysdep.c:
* systty.h:
* syswait.h:
* unexec.c:
* xdisp.c:
* alloc.c: Remove code containing references to symbols defined by
unsupported systems.
2008-01-13 00:43:55 +00:00
Glenn Morris
a5b68355b3 Add 2008 to copyright years. 2008-01-07 08:42:46 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Thien-Thi Nguyen
273dc16aaf Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
YAMAMOTO Mitsuharu
ef7c480ddf (DIRECTORY_SEP): New macro.
(IS_DIRECTORY_SEP): Use it.
2005-05-13 08:53:17 +00:00
YAMAMOTO Mitsuharu
1376ed1867 Undo previous change. 2005-03-04 11:14:03 +00:00
Steven Tamm
e6973a25b6 make-docfile.c: Include stdlib.h even if WINDOWSNT is not
defined.
2004-12-27 17:22:01 +00:00
Kim F. Storm
bf17c6e67e (scan_c_file): Set defvarperbufferflag to silence compiler. 2004-11-09 11:03:12 +00:00
Thien-Thi Nguyen
65396510c3 Throughout, replace 0 destined for exit' arg with EXIT_SUCCESS'.
Likewise, replace 1 with `EXIT_FAILURE'.
(main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2004-05-08 15:26:33 +00:00
Eli Zaretskii
b09c560845 (IS_DIRECTORY_SEP): New macro.
(put_filename): Remove unused variable len.  Use IS_DIRECTORY_SEP
instead of a literal '/'.
2004-04-26 10:49:11 +00:00
Stefan Monnier
d5d66b7eda (xmalloc): Fix return type.
(put_filename): New fun.
(scan_file): Use it.
2004-04-07 19:18:42 +00:00
Thien-Thi Nguyen
08a39b8304 (main): For return code, no longer special-case VMS.
Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2003-12-24 06:49:23 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Dave Love
7a71a86d3d (read_c_string_or_comment): Declare msgno. 2002-11-14 14:09:44 +00:00
Stefan Monnier
56cf516205 (scan_keyword_or_put_char, write_c_args): Use `fn'
for the function name in the usage info.
2002-08-19 21:47:38 +00:00
Stefan Monnier
1e04216025 (scan_c_file): Warn about missing `usage' info. 2002-07-15 20:00:03 +00:00
Pavel Janík
a00e9335a4 Remove unnecessary whitespaces. 2002-01-05 23:37:58 +00:00
Pavel Janík
fb2d3129dc Comment fixes. 2001-11-15 15:50:31 +00:00
Miles Bader
52d8c52976 (struct rcsoc_state): New type.
(read_c_string_or_comment): Use a variable of type `rcsoc_state' to hold
most of our state.
(put_char): Add STATE parameter, and remove all other parameters
except CH.  Use STATE to get access to all needed state.
(scan_keyword_or_put_char): New function.
2001-10-21 13:48:16 +00:00
Miles Bader
d097ad5744 (read_c_string_or_comment): Add SAW_USAGE parameter, and implement
scanning for a `usage:' keyword.
(scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
Don't output a usage-string if there was one in the doc string.
2001-10-21 09:21:46 +00:00
Miles Bader
0c82822ca0 (put_char): New function.
(read_c_string_or_comment): Strip trailing spaces and newlines.
2001-10-17 02:53:57 +00:00
Miles Bader
a5979c0e89 (scan_c_file): Handle new style' doc strings in comments [with doc:'
keyword prefix].
2001-10-16 13:05:28 +00:00
Gerd Moellmann
7dfd439c45 (read_c_string_or_comment): Don't drop a '*'
in a C doc comment.
2001-10-15 10:04:31 +00:00
Gerd Moellmann
74c55c82b6 (read_c_string_or_comment): Renamed from
read_c_string.  Add parameter COMMENT.  Read C-style comments.
(scan_c_file): Handle doc strings in C comments.
2001-10-13 20:41:25 +00:00
Gerd Moellmann
291c7e74d2 (write_c_args): Print newlines as spaces. 2001-01-13 16:49:49 +00:00
Andreas Schwab
34e778a67d (scan_lisp_file): Also look for `defsubst'. 2000-03-29 21:32:12 +00:00
Paul Eggert
4ee9629e2b Add support for large files. Merge glibc 2.1.2.
* b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
movemail.c, pop.c:
Do not include <stdlib.h>, as <config.h> does this now.

* b2m.c, emacsserver.c, etags.c, profile.c:
Include <config.h> before any system include files.

* emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
test-distrib.c:
(read, write, open, close): Do not undef.

* getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
(const): Do not define if HAVE_CONFIG_H; that's config.h's job.

* getopt.h: Adopt glibc 2.1.2.
1999-10-19 07:17:20 +00:00
Dave Love
7e6972e92c (scan_lisp_file): Fix typo causing infloop. 1999-09-27 11:34:27 +00:00
Phillip Rulon
66f54605e1 patched by pjr from diff by rms 1999-09-24 13:52:46 +00:00
Dave Love
b0f08a24a4 Fix comment about conventions for Lisp files. 1999-09-04 11:25:13 +00:00
Richard M. Stallman
433d333d70 Include config.h not ../src/config.h.
(main, fopen, chdir): Add #undef.
(read_c_string, scan_c_file, skip_white, read_lisp_symbol)
(scan_lisp_file): Handle \r like \n.
1999-09-03 23:12:27 +00:00
Andreas Schwab
eed63914b0 Include <stdlib.h> if available. 1999-08-30 15:08:30 +00:00
Andreas Schwab
a0613c61ed Include <unistd.h> for chdir. 1998-04-27 09:22:29 +00:00
Richard M. Stallman
3fe77f98b1 (scan_lisp_file): Handle custom-declare-variable. 1997-08-31 17:05:53 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman
dc61cb9dd8 (scan_file): Make sure it never looks at filename[-1]. 1995-06-21 19:46:58 +00:00
Richard M. Stallman
5281dea442 (main) [MSDOS]: Do set _fmode.
This undoes part of the previous change.
1995-06-21 19:45:27 +00:00
Richard M. Stallman
4e043ed306 (main): On MSDOS, don't change stdout to binary, and insist on an -o option. 1995-06-20 02:52:38 +00:00
Karl Heuer
2d1985a2e1 [MSDOS]: #undef chdir. 1995-06-08 20:13:45 +00:00
Richard M. Stallman
34b4ece5fe Include config.h.
(NO_SHORTNAMES): New definition.
(xmalloc): Return long *.
1995-05-04 21:57:30 +00:00
Richard M. Stallman
1feb8ae1f5 (scan_c_file): At end, restore file name last char to its original value. 1995-04-13 16:05:43 +00:00
Richard M. Stallman
b5ff43cc2e (scan_lisp_file): Handle dynamic doc strings.
(xmalloc, fatal, error): New functions.
(progname): New variable.
(main): Set progname.
1994-12-21 16:16:45 +00:00
Richard M. Stallman
86b0513a2c (main) [WINDOWSNT]: Now sets _fmode and stdout to O_BINARY.
[WINDOWSNT]: Include the NT headers.
(READ_TEXT, READ_BINARY): Test DOS_NT, not MS_DOS.
1994-11-01 05:23:42 +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
David J. MacKenzie
340ff9deae Eliminate some -Wall warnings. 1994-10-12 20:21:51 +00:00
Richard M. Stallman
4607ea99ad (write_c_args): Put `default' in upper case. 1994-05-19 21:05:08 +00:00