aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/pop.c
Commit message (Collapse)AuthorAgeFilesLines
* commentDave Love2000-06-201-1/+2
|
* (ERROR_MAX): Increase to 160.Dave Love2000-05-211-1/+2
|
* Add support for large files. Merge glibc 2.1.2.Paul Eggert1999-10-191-12/+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.
* Use "pop3" as the POP service name on all platforms,Gerd Moellmann1999-10-101-4/+0
| | | | | | 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.
* Undo previous change.Richard M. Stallman1998-05-251-978/+20
|
* Integrate support for GSS-APIKarl Heuer1998-04-061-20/+978
| | | | authentication, implemented by Kevin L. Mitchel <[email protected]>.
* (pop_getline): Renamed from getline.Richard M. Stallman1998-03-261-13/+13
|
* Allow messages retrieved from the POPKarl Heuer1997-12-041-67/+109
| | | | server to contain embedded nulls.
* (fullwrite): Get rid of an extra call to write. ProblemKarl Heuer1997-10-311-2/+2
| | | | pointed out by Chiaki Ishikawa.
* Use system header files instead of declaring C-libraryKarl Heuer1997-09-251-7/+7
| | | | functions explicitly.
* Support auto-configuration of both Kerberos V4 andRichard M. Stallman1997-07-281-45/+68
| | | | | | | | | | | | 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.
* (getline): Don't miss CRLF pairs when the CR and LF areRichard M. Stallman1997-05-061-1/+3
| | | | read in separate blocks.
* (socket_connection): Free realhost after using it.Richard M. Stallman1996-12-161-0/+1
|
* gethostbyname() may return a pointer to static data, which isCharles Hannum1996-11-211-2/+4
| | | | | overwritten deep inside krb_realmofhost(). Copy the host name to avoid conflicts.
* Reverse conditional in previous change.Richard M. Stallman1996-08-261-3/+3
|
* Include des.h krb.h with no dir name if SOLARIS2.Richard M. Stallman1996-08-251-0/+5
|
* (SEND, RECV): Renamed from send, recv.Richard M. Stallman1996-04-291-12/+14
| | | | | (pop_open, pop_trash): Make the trash_started code unconditional. (socket_connection): Delete casts to void.
* [WINDOWSNT]: Include winsock.h and ntlib.h.Richard M. Stallman1996-04-281-9/+48
| | | | | | | | | | | | | | | | 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.
* (pop_retrieve, getline): Avoid type clashes.Karl Heuer1996-01-201-3/+4
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-3/+3
|
* (getline): When a search of already-read input for CRLFRichard M. Stallman1994-10-241-3/+16
| | | | | | | | | 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.
* Only include ../src/config.h if HAVE_CONFIG_H isRichard M. Stallman1994-10-191-32/+45
| | | | | | | | | | | | | 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.
* Fix mismatch in conditionals.Richard M. Stallman1994-10-181-7/+9
|
* (open, close, read, write): Add #undefs.Richard M. Stallman1994-10-181-0/+5
|
* Include ../src/config.h.Richard M. Stallman1994-10-181-0/+3
|
* Don't declare malloc, realloc, free.Richard M. Stallman1994-10-181-10/+8
| | | | | | | | | 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.
* Initial revisionRichard M. Stallman1994-09-271-0/+1470