aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/pop.c
Commit message (Collapse)AuthorAgeFilesLines
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* (socket_connection): Add conditionals for HAVE_KRB5_ERROR_TEXT andChong Yidong2008-08-051-7/+13
| | | | | HAVE_KRB5_ERROR_E_TEXT to support compilation with MIT Kerberos and Heimdal, respectively.
* remove useless if-before-free testsJim Meyering2008-06-021-2/+1
| | | | | | | | | | | | | | | | * lib-src/ebrowse.c (xfree): Likewise. * lib-src/etags.c (process_file_name, free_tree, free_fdesc): Likewise. (popclass_above, Prolog_functions, Erlang_functions): Likewise. * lib-src/pop.c (pop_quit): Likewise. * lwlib/lwlib-Xm.c (xm_update_one_value): Likewise. * lwlib/lwlib.c (safe_free_str, free_widget_value_tree): Likewise. * src/editfns.c (Fset_time_zone_rule): Likewise. * src/lread.c (nosuffix): Likewise. * src/ralloc.c (get_bloc): Likewise. * src/regex.c (reg_free): Likewise. * src/xftfont.c (xftfont_open, xftfont_close): Likewise. * src/xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise. * src/xsmfns.c (smc_save_yourself_CB): Likewise.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-091-7/+7
|
* * 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
| |
| * (pop_stat, pop_last): Fix last fix.Chong Yidong2008-01-221-11/+4
| |
| * (pop_stat, pop_last): Check validity of string-to-integerChong Yidong2008-01-101-3/+29
| | | | | | | | conversion. Mistakes spotted by Nico Golde.
* | (pop_stat, pop_last): Fix last fix.Chong Yidong2008-01-221-11/+4
| |
* | (pop_stat, pop_last): Check validity of string-to-integerChong Yidong2008-01-101-3/+29
| | | | | | | | conversion. Mistakes spotted by Nico Golde.
* | Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\| | | | | | | Revision: [email protected]/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | (socket_connection): Remove AI_ADDRCONFIG.Jan Djärv2007-11-271-1/+1
| |
* | (socket_connection): Move realhost out of #ifdefs.Jan Djärv2007-11-191-5/+13
| | | | | | | | Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
* | (socket_connection): Use getaddrinfo if available.Jan Djärv2007-11-181-5/+51
|/
* 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).
* (pop_open, socket_connection, KPOP_SERVICE): AddedFrancesco Potortì2006-05-231-3/+6
| | | | comments explaining why the "kpop" service is never used.
* 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
|
* Don't include des.h (or variants thereof); krb.h will do it.Ken Raeburn2005-07-131-17/+18
| | | | | (sendline): Add the \r\n to the line in a temporary buffer, and write it all at once.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-3/+3
|
* (__P): Renamed from _P to avoid problems on Cygwin.Kim F. Storm2003-01-051-11/+11
| | | | All uses changed.
* (socket_connection): Move the code to resolve the POPEli Zaretskii2002-05-171-11/+11
| | | | host right before trying to connect with it.
* Remove unnecessary whitespaces.Pavel Janík2001-12-301-15/+15
|
* Include <config.h>.Pavel Janík2001-12-291-1/+1
|
* 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
|