1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00
Commit Graph

56 Commits

Author SHA1 Message Date
Chong Yidong
5fe92a72fc (socket_connection): Add conditionals for HAVE_KRB5_ERROR_TEXT and
HAVE_KRB5_ERROR_E_TEXT to support compilation with MIT Kerberos and
Heimdal, respectively.
2008-08-05 23:44:48 +00:00
Jim Meyering
c2cd06e61e remove useless if-before-free tests
* 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.
2008-06-02 06:00:54 +00:00
Glenn Morris
294981c77c Switch to recommended form of GPLv3 permissions notice. 2008-05-09 23:19:13 +00:00
Dan Nicolaescu
9d2818d676 * configure.in: Remove references to obsolete variables and
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.
2008-02-24 18:53:07 +00:00
Miles Bader
b03f96dc5a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Juanma Barranquero
4d90eee4f5 *** empty log message *** 2008-02-05 02:30:41 +00:00
Chong Yidong
59a431d6ee (pop_stat, pop_last): Fix last fix. 2008-01-22 15:38:49 +00:00
Chong Yidong
cc8ce247d5 (pop_stat, pop_last): Fix last fix. 2008-01-22 15:36:05 +00:00
Chong Yidong
0b07499315 (pop_stat, pop_last): Check validity of string-to-integer
conversion.  Mistakes spotted by Nico Golde.
2008-01-10 15:33:52 +00:00
Chong Yidong
8ef147bd83 (pop_stat, pop_last): Check validity of string-to-integer
conversion.  Mistakes spotted by Nico Golde.
2008-01-10 15:25:28 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
a5b68355b3 Add 2008 to copyright years. 2008-01-07 08:42:46 +00:00
Jan Djärv
7291159e25 (socket_connection): Remove AI_ADDRCONFIG. 2007-11-27 07:38:21 +00:00
Jan Djärv
ee15f3125e (socket_connection): Move realhost out of #ifdefs.
Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2007-11-19 11:09:20 +00:00
Jan Djärv
33a2a87254 (socket_connection): Use getaddrinfo if available. 2007-11-18 17:24:37 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Glenn Morris
b3d90e4611 Update copyright for years from Emacs 21 to present (mainly adding
2001).
2007-01-16 03:47:24 +00:00
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