1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
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