1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

98 Commits

Author SHA1 Message Date
Glenn Morris
f5d0ac07d6 Add 2009 to copyright years. 2009-01-08 03:38:51 +00:00
Chong Yidong
097e9c90ee (main): Fatal if hard links cannot be created. 2009-01-01 09:34:28 +00:00
Dan Nicolaescu
bba104c11e * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was
always defined as int.

* s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT):
* s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT):
* s/gnu-linux.h (HAVE_WAIT_HEADER):
* s/freebsd.h (HAVE_WAIT_HEADER):
* s/bsd-common.h (HAVE_UNION_WAIT):
* s/aix4-2.h (HAVE_WAIT_HEADER):
* m/mips.h (HAVE_UNION_WAIT):
* s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used.
(COFF, static): Do not define, they are undefined later in the file.

* process.c (update_status): Don't use a union.
(status_convert):
(sigchld_handler): Use int instead of WAITTYPE.

* movemail.c (main): Use int instead of WAITTYPE.
2008-07-12 05:31:23 +00:00
Glenn Morris
294981c77c Switch to recommended form of GPLv3 permissions notice. 2008-05-09 23:19:13 +00:00
Dan Nicolaescu
9d2818d676 * configure.in: Remove references to obsolete variables and
systems.
* configure: Regenerate.

* Makefile.in (NO_SHORTNAMES):
* emacsclient.c (NO_SHORTNAMES):
* fakemail.c (NO_SHORTNAMES):
* make-docfile.c (NO_SHORTNAMES):
* movemail.c (NO_SHORTNAMES):
* pop.c (NO_SHORTNAMES): Remove references to obsolete variable.

* config.nt (SHORTNAMES): Remove reference to obsolete variable.

* s/vms4-0.h:
* s/vms4-2.h:
* s/vms4-4.h:
* s/vms5-5.h: Remove, unused.

* s/irix5-2.h:
* s/irix6-0.h:
* s/riscos5.h:
* s/mach-bsd4-3.h:
* m/mips4.h: Remove files for obsolete systems

* Makefile.in:
* filelock.c:
* unexmips.c:
* m/hp9000s300.h:
* m/iris4d.h:
* s/aix3-1.h:
* s/hpux.h:
* s/msdos.h:
* s/usg5-0.h:
* s/usg5-2-2.h:
* s/usg5-2.h:
* s/usg5-3.h: Remove references to obsolete variables.

* s/irix5-0.h: Remove, move all the contents ...
* s/irix6-5.h: ... here.  Simplify.
* config.in: Regenerate.
2008-02-24 18:53:07 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Juanma Barranquero
4d90eee4f5 *** empty log message *** 2008-02-05 02:30:41 +00:00
Dan Nicolaescu
76ed5e0157 * movemail.c: Remove references to XENIX.
* m/intel386.h: Remove references to XENIX.
2008-01-18 15:15:07 +00:00
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
b3d90e4611 Update copyright for years from Emacs 21 to present (mainly adding
2001).
2007-01-16 03:47:24 +00:00
Richard M. Stallman
5e5b35c7ec (main): Check for negative value from `read'. 2006-04-29 18:55:19 +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
Andreas Schwab
a9eedf40f4 (fatal): Accept third parameter and pass down to
error.
(pfatal_with_name): Pass error string as format parameter instead
of as part of format string.
(pfatal_and_delete): Likewise.
(main): Adjust call to fatal.
(xmalloc): Likewise.
2005-02-04 22:11:43 +00:00
Richard M. Stallman
17a60964b9 (popmail): Don't use Errmsg as format string. 2005-01-29 16:56:30 +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
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
bb5618fe38 (main): Fix having macros in a printf statement. 2003-07-28 22:10:30 +00:00
Dave Love
dd843b6af3 Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL. 2003-05-20 16:34:35 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Dave Love
b553981f42 (pop_retr): Declare comment. 2002-11-14 14:09:51 +00:00
Richard M. Stallman
08fa58c940 (popmail): Always pass two args to `error'. 2001-11-03 19:03:48 +00:00
Dave Love
517699cac6 (index, rindex): Prototype conditionally. 2000-09-04 15:26:16 +00:00
Eli Zaretskii
f72adc12d5 (toplevel): Remove redundant <fcntl.h>. Provide definitions for F_OK
and friends only after including both fcntl.h and unistd.h: some
systems define them on unistd.h.
2000-09-01 13:50:50 +00:00
Dave Love
fab407405d Revert previous change. 2000-08-29 17:15:31 +00:00
Dave Love
cc3b64e8ff (toplevel) [HAVE_STRING_H]: Include string.h.
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
2000-08-28 18:56:15 +00:00
Andrew Innes
9112a2a976 (main) [WINDOWSNT]: Force binary mode for fileio. 2000-08-22 21:20:07 +00:00
Dave Love
752fb47256 Include config.h, not ../src/config.h.
(Errmsg): Bump length.
2000-05-21 11:02:50 +00:00
Richard M. Stallman
4b265472d6 Fix previous change. 2000-01-29 23:53:44 +00:00
Richard M. Stallman
55e30d2abd (main): Improve error message if can't create lock file. 2000-01-29 23:52:29 +00:00
Gerd Moellmann
476b279958 (popmail): Allow mailbox specifications of the
form `po:username:hostname'.
1999-12-10 09:53:01 +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
Andrew Innes
3288d108f4 (main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize. 1999-05-02 09:31:32 +00:00
Karl Heuer
9b956af264 (popmail, pop_retr) [MAIL_USE_POP]: When displaying
an error message from POP, mention that it's from POP, to
distinguish it from local error messages.
1998-09-21 17:36:14 +00:00
Karl Heuer
a2997b0f43 [MAIL_USE_POP]: Add the "-r" flag to reverse the
order of messages downloaded from a POP server (e.g., if the
server stores messages in mailboxes in reverse order).
1998-09-04 20:14:16 +00:00
Andrew Innes
4822b2e57f (sys_wait): Rename to wait. 1998-06-01 14:09:21 +00:00
Richard M. Stallman
0d66b6f332 Undo this previous change:
[MAIL_USE_POP]: Add support for "-g" and "-k"
command-line flags to tell movemail to use GSS-API or Kerberos
authentication if they are supported.
1998-05-25 20:10:50 +00:00
Richard M. Stallman
677a7bcf90 [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
all file i/o to be in binary mode.  Include ntlib.h.
1998-05-02 06:43:03 +00:00
Karl Heuer
a51623bcff [MAIL_USE_POP]: Add support for "-g" and "-k"
command-line flags to tell movemail to use GSS-API or Kerberos
authentication if they are supported.
1998-04-06 22:10:30 +00:00
Andreas Schwab
2e0a5ae090 Move cancelations up. Include <stdlib.h> if
available.
1998-04-06 10:17:33 +00:00
Andreas Schwab
b1cb2966f4 (main): Fix interwoven brace and cpp conditional nesting. 1998-01-23 11:06:49 +00:00
Karl Heuer
d89d024397 Allow messages retrieved from the POP
server to contain embedded nulls.
1997-12-04 06:44:56 +00:00
Paul Eggert
d04f50310a (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
'>' any lines starting with "From " read from the POP server, but
leave the code in place, wrapped in #ifdef
MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
because it turns out that something is depending on it.  Change
suggested by Paul Eggert <eggert@twinsun.com>.
Convert the character \037 (^_) at the beginning of a line into
the character '^' followed by the character '_', because otherwise
Emacs can't parse the resulting file as a valid BABYL file.
Change suggested by Paul Eggert <eggert@twinsun.com>.
1997-12-03 07:11:43 +00:00
Richard M. Stallman
c4009c1f3d (rindex): Add declaration. 1997-07-05 03:19:16 +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
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