aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/movemail.c
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: Remove references to obsolete variables andDan Nicolaescu2008-02-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge from emacs--rel--22Miles Bader2008-02-241-1/+1
|\ | | | | | | Revision: [email protected]/emacs--devo--0--patch-1074
| * *** empty log message ***Juanma Barranquero2008-02-051-1/+1
| |
* | * movemail.c: Remove references to XENIX.Dan Nicolaescu2008-01-181-7/+3
| | | | | | | | * m/intel386.h: Remove references to XENIX.
* | * movemail.c:Dan Nicolaescu2008-01-131-6/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-161-2/+2
| | | | 2001).
* (main): Check for negative value from `read'.Richard M. Stallman2006-04-291-0/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (fatal): Accept third parameter and pass down toAndreas Schwab2005-02-041-9/+8
| | | | | | | | | 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.
* (popmail): Don't use Errmsg as format string.Richard M. Stallman2005-01-291-1/+1
|
* Throughout, replace 0 destined for `exit' arg with `EXIT_SUCCESS'.Thien-Thi Nguyen2004-05-081-18/+22
| | | | | Likewise, replace 1 with `EXIT_FAILURE'. (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (main): Fix having macros in a printf statement.Juanma Barranquero2003-07-281-4/+3
|
* Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.Dave Love2003-05-201-1/+2
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-5/+5
|
* (pop_retr): Declare comment.Dave Love2002-11-141-0/+1
|
* (popmail): Always pass two args to `error'.Richard M. Stallman2001-11-031-1/+1
|
* (index, rindex): Prototype conditionally.Dave Love2000-09-041-1/+6
|
* (toplevel): Remove redundant <fcntl.h>. Provide definitions for F_OKEli Zaretskii2000-09-011-8/+4
| | | | | and friends only after including both fcntl.h and unistd.h: some systems define them on unistd.h.
* Revert previous change.Dave Love2000-08-291-6/+0
|
* (toplevel) [HAVE_STRING_H]: Include string.h.Dave Love2000-08-281-15/+32
| | | | (toplevel) [HAVE_STRINGS_H]: Include strings.h.
* (main) [WINDOWSNT]: Force binary mode for fileio.Andrew Innes2000-08-221-2/+5
|
* Include config.h, not ../src/config.h.Dave Love2000-05-211-2/+3
| | | | (Errmsg): Bump length.
* Fix previous change.Richard M. Stallman2000-01-291-1/+1
|
* (main): Improve error message if can't create lock file.Richard M. Stallman2000-01-291-1/+1
|
* (popmail): Allow mailbox specifications of theGerd Moellmann1999-12-101-3/+20
| | | | form `po:username:hostname'.
* Add support for large files. Merge glibc 2.1.2.Paul Eggert1999-10-191-11/+1
| | | | | | | | | | | | | | | | | | * 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.
* (main) [WINDOWSNT]: Call ftruncate, which is now mapped to _chsize.Andrew Innes1999-05-021-1/+1
|
* (popmail, pop_retr) [MAIL_USE_POP]: When displayingKarl Heuer1998-09-211-6/+10
| | | | | an error message from POP, mention that it's from POP, to distinguish it from local error messages.
* [MAIL_USE_POP]: Add the "-r" flag to reverse theKarl Heuer1998-09-041-4/+32
| | | | | order of messages downloaded from a POP server (e.g., if the server stores messages in mailboxes in reverse order).
* (sys_wait): Rename to wait.Andrew Innes1998-06-011-1/+1
|
* Undo this previous change:Richard M. Stallman1998-05-251-37/+8
| | | | | | [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.
* [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. ForceRichard M. Stallman1998-05-021-2/+11
| | | | all file i/o to be in binary mode. Include ntlib.h.
* [MAIL_USE_POP]: Add support for "-g" and "-k"Karl Heuer1998-04-061-8/+37
| | | | | command-line flags to tell movemail to use GSS-API or Kerberos authentication if they are supported.
* Move cancelations up. Include <stdlib.h> ifAndreas Schwab1998-04-061-6/+10
| | | | available.
* (main): Fix interwoven brace and cpp conditional nesting.Andreas Schwab1998-01-231-1/+1
|
* Allow messages retrieved from the POPKarl Heuer1997-12-041-4/+5
| | | | server to contain embedded nulls.
* (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with aPaul Eggert1997-12-031-0/+9
| | | | | | | | | | | | '>' 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 <[email protected]>. 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 <[email protected]>.
* (rindex): Add declaration.Richard M. Stallman1997-07-051-2/+3
|
* (popmail): Remove some unnecessary functionKarl Heuer1997-02-231-6/+5
| | | | | | | | 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.
* Delete duplicate inclusion of fcntl.hKarl Heuer1997-02-141-9/+0
| | | | and duplicate #undefs of open, read, write, close.
* (main): Do not display "[POP-password]" in the usageRichard M. Stallman1997-01-211-24/+59
| | | | | | | 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.
* Include maillock.h (conditionally).Richard M. Stallman1997-01-201-70/+169
| | | | | | | | | 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.
* (main): If the lock call fails with EBUSY orRichard M. Stallman1996-09-291-4/+38
| | | | EAGAIN, retry a few times.
* Replaced all BSD with BSD_SYSTEM.Karl Heuer1996-09-171-4/+4
|
* (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h.Richard M. Stallman1996-04-281-0/+7
|