1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
Francesco Potortì
81264b3846 (pop_open, socket_connection, KPOP_SERVICE): Added
comments explaining why the "kpop" service is never used.
2006-05-23 10:44:39 +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
Ken Raeburn
ec641d5056 Don't include des.h (or variants thereof); krb.h will do it.
(sendline): Add the \r\n to the line in a temporary buffer, and write it all at
once.
2005-07-13 21:47:54 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +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
Kim F. Storm
1cb12638f3 (__P): Renamed from _P to avoid problems on Cygwin.
All uses changed.
2003-01-05 23:38:59 +00:00
Eli Zaretskii
b72f3bcb37 (socket_connection): Move the code to resolve the POP
host right before trying to connect with it.
2002-05-17 11:24:02 +00:00
Pavel Janík
80b2cbf263 Remove unnecessary whitespaces. 2001-12-30 22:09:01 +00:00
Pavel Janík
2f8fe2f420 Include <config.h>. 2001-12-29 22:25:06 +00:00
Dave Love
a47bf6480c comment 2000-06-20 13:27:11 +00:00
Dave Love
5bf244f1c6 (ERROR_MAX): Increase to 160. 2000-05-21 11:07:47 +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
Gerd Moellmann
b358f91c16 Use "pop3" as the POP service name on all platforms,
instead of using "pop" on Unix and "pop3" on Windows NT.  "pop3"
has been the standard service name since RFC 1340 was published in
July 1992, so I think it's safe to start using it by default.
1999-10-10 23:09:04 +00:00
Richard M. Stallman
bbcac09c81 Undo previous change. 1998-05-25 20:11:54 +00:00
Karl Heuer
0ea9573750 Integrate support for GSS-API
authentication, implemented by Kevin L. Mitchel <klmitch@mit.edu>.
1998-04-06 22:16:30 +00:00
Richard M. Stallman
60b0a3793f (pop_getline): Renamed from getline. 1998-03-26 22:52:21 +00:00
Karl Heuer
d89d024397 Allow messages retrieved from the POP
server to contain embedded nulls.
1997-12-04 06:44:56 +00:00
Karl Heuer
9d3f4cee9d (fullwrite): Get rid of an extra call to write. Problem
pointed out by Chiaki Ishikawa.
1997-10-31 23:09:43 +00:00
Karl Heuer
020d301566 Use system header files instead of declaring C-library
functions explicitly.
1997-09-25 00:44:53 +00:00
Richard M. Stallman
a27738b67a Support auto-configuration of both Kerberos V4 and
Kerberos V5 for movemail, including detection of V4 and V5 header
files and libraries.
Include <string.h> when STDC_HEADERS is defined, to get
declarations of string functions.
[KERBEROS5] (socket_connection): Support the current MIT Kerberos
V5 API rather than the old one.
[KERBEROS] (socket_connection): Change a constant name from
SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
with a constant in a header file.
1997-07-28 05:52:35 +00:00
Richard M. Stallman
a8f44d07f9 (getline): Don't miss CRLF pairs when the CR and LF are
read in separate blocks.
1997-05-06 19:30:49 +00:00
Richard M. Stallman
6a7eabe0c6 (socket_connection): Free realhost after using it. 1996-12-16 06:01:18 +00:00
Charles Hannum
51a66525e8 gethostbyname() may return a pointer to static data, which is
overwritten deep inside krb_realmofhost().  Copy the host name to
avoid conflicts.
1996-11-21 20:47:59 +00:00
Richard M. Stallman
41f2130007 Reverse conditional in previous change. 1996-08-26 16:10:43 +00:00
Richard M. Stallman
40f2809942 Include des.h krb.h with no dir name if SOLARIS2. 1996-08-25 02:27:24 +00:00
Richard M. Stallman
de5c39cffd (SEND, RECV): Renamed from send, recv.
(pop_open, pop_trash): Make the trash_started code unconditional.
(socket_connection): Delete casts to void.
1996-04-29 15:46:17 +00:00
Richard M. Stallman
c2668a613f [WINDOWSNT]: Include winsock.h and ntlib.h.
Macro SOCKET_ERROR undefined.
Don't declare h_errno.
[!WINDOWSNT]: Define macros recv and send.
[!WINDOWSNT] (POP_SERVICE): Change to pop3.
(pop_open) [WINDOWSNT]: Initialize trash_started.
(have_winsock) [WINDOWSNT]: New variable.
(socket_connection) [WINDOWSNT]: Initialize winsock.
(socket_connection): Use closesocket instead of close.
(getline): Use recv instead of read.
(fullwrite): Use send instead of write.
(pop_trash): Use closesocket instead of close.
(pop_trash) [WINDOWSNT]: Cleanup winsock.
Check if being called recursively by sendline.
1996-04-28 19:08:33 +00:00
Karl Heuer
7d6659459e (pop_retrieve, getline): Avoid type clashes. 1996-01-20 20:51:31 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
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
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
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
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
Richard M. Stallman
9c0f2dac9b Initial revision 1994-09-27 19:49:25 +00:00