| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
and friends only after including both fcntl.h and unistd.h: some
systems define them on unistd.h.
|
| | |
|
| |
|
|
| |
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
|
| | |
|
| |
|
|
| |
(Errmsg): Bump length.
|
| | |
|
| | |
|
| |
|
|
| |
form `po:username:hostname'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| | |
|
| |
|
|
|
| |
an error message from POP, mention that it's from POP, to
distinguish it from local error messages.
|
| |
|
|
|
| |
order of messages downloaded from a POP server (e.g., if the
server stores messages in mailboxes in reverse order).
|
| | |
|
| |
|
|
|
|
| |
[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.
|
| |
|
|
| |
all file i/o to be in binary mode. Include ntlib.h.
|
| |
|
|
|
| |
command-line flags to tell movemail to use GSS-API or Kerberos
authentication if they are supported.
|
| |
|
|
| |
available.
|
| | |
|
| |
|
|
| |
server to contain embedded nulls.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
'>' 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>.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
and duplicate #undefs of open, read, write, close.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
EAGAIN, retry a few times.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
[WINDOWSNT]: Include locking.h.
(main): Update usage message. Use IS_DIRECTORY_SEP.
(main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
(main) [WINDOWSNT]: Invoke locking instead of flock.
(main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
(main) [MAIL_USE_POP]: Pass password to popmail if used.
Include winsock.h; don't include unix inet headers.
(popmail): Add password argument and pass it to pop_open.
Open output file in binary mode.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Add error check for empty OUTNAME.
|
| | |
|
| | |
|
| |
|
|
| |
mailbox with "po:mailbox", the mailbox is everything after the "po:" prefix.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(main): Improve usage message.
(error): Write to stderr, not stdout.
|
| |
|
|
|
|
|
|
| |
(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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
the indesc open was moved inside a fork.
Handle MAIL_USE_LOCKF.
(MAIL_USE_SYSTEM_LOCK): New conditional macro.
Define it if either MAIL_USE_FLOCK or MAIL_USE_LOCKF.
|