Juanma Barranquero
1ac3c9101d
*** empty log message ***
2006-11-16 00:58:47 +00:00
Jason Rumney
32dd92836c
Let config.h define HAVE_SOCKETS and HAVE_INET_SOCKETS.
2006-11-13 11:32:11 +00:00
Juanma Barranquero
1bbea9fca7
*** empty log message ***
2006-11-13 11:08:25 +00:00
Jason Rumney
a48db42775
*** empty log message ***
2006-11-13 00:04:54 +00:00
Juanma Barranquero
21f89bb7ae
Fix braino.
2006-11-11 14:24:28 +00:00
Juanma Barranquero
ed4a37304a
[!WINDOWSNT]: Include <sys/types.h>.
2006-11-10 15:44:40 +00:00
Juanma Barranquero
33462dfacd
Add "add-log-time-zone-rule: t" to Local Variables section.
2006-11-10 00:21:57 +00:00
Juanma Barranquero
d5abc12cc2
*** empty log message ***
2006-11-08 01:15:08 +00:00
Juanma Barranquero
88b46d8431
(get_server_config) [WINDOWSNT]: Search the server file on APPDATA
...
if it doesn't exist on HOME, even if HOME is defined.
2006-11-07 11:23:12 +00:00
Juanma Barranquero
18b8c421dc
*** empty log message ***
2006-11-07 10:47:51 +00:00
Juanma Barranquero
b03d27bdc1
(longopts) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't show option --socket-name.
...
(decode_options): Don't get EMACS_SERVER_FILE here, it could override command
line options.
(decode_options) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
(fail): Don't check for missing arguments, it is now done in set_socket.
(file_name_absolute_p): New function (loosely based on the one in fileio.c).
(initialize_sockets): Don't check for duplicate loading of Winsock.
(get_server_config): Only try relative paths in the default directory locations.
(set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to a remote
server.
(set_socket): Call INITIALIZE(). Search explicit command-line arguments, then
environment variable EMACS_SERVER_FILE, then implicit socket paths, before
trying the alternate editor.
(main): Use file_name_absolute_p.
2006-11-06 12:41:49 +00:00
Eli Zaretskii
b20d6154e7
*** empty log message ***
2006-11-04 12:23:03 +00:00
Juanma Barranquero
9c92edca93
*** empty log message ***
2006-11-03 16:31:08 +00:00
Juanma Barranquero
b6ce9c466c
*** empty log message ***
2006-11-03 15:50:42 +00:00
Juanma Barranquero
4418616bf3
*** empty log message ***
2006-11-02 13:04:47 +00:00
Juanma Barranquero
1e7823d061
[WINDOWSNT]: Define HAVE_INET_SOCKETS.
...
[!WINDOWSNT]: Include <netinet/in.h> if available.
[HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
(IOCTL, IOCTL_BOOL_ARG): Remove.
(set_tcp_socket): Don't set the socket in blocking mode. Remove c_arg.
2006-11-02 09:55:33 +00:00
Juanma Barranquero
ebc20ca09c
*** empty log message ***
2006-11-01 20:25:51 +00:00
Juanma Barranquero
411b80a566
[WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
...
(close_winsock): Declare as __cdecl.
2006-10-31 16:40:11 +00:00
Juanma Barranquero
95d0feaa4a
[!WINDOWSNT]: Include <fcntl.h> if available.
...
(set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO to set the
socket in non-blocking mode.
2006-10-31 13:52:32 +00:00
Kim F. Storm
d4fa60c883
*** empty log message ***
2006-10-31 11:07:10 +00:00
Juanma Barranquero
e35fc9628c
Fixes to emacsclient.c for GNU/Linux.
...
[!WINDOWSNT] <top level>: Include <netinet/in.h> and <sys/ioctl.h>.
(INVALID_SOCKET): Define.
(initialize_sockets): Put #endif at the right place.
(set_local_socket): Use progname, not argv[0].
2006-10-31 09:08:24 +00:00
Juanma Barranquero
ecc5405763
*** empty log message ***
2006-10-31 01:08:02 +00:00
Andreas Schwab
9984b9d5d9
Typo.
2006-10-11 09:49:15 +00:00
Eli Zaretskii
70846e2ad8
(../src/config.h): Fix error message.
2006-10-09 19:58:14 +00:00
Eli Zaretskii
e2247cd00d
*** empty log message ***
2006-09-30 10:03:11 +00:00
Jay Belanger
45a2056c56
*** empty log message ***
2006-09-15 17:47:12 +00:00
Jan Djärv
ea90c5d3bd
(readline): Change position on %n and \" in sscanf.
2006-08-09 06:56:16 +00:00
Jan Djärv
1f4edc37b8
* etags.c (readline): expect sscanf returns >= 1.
2006-08-09 06:22:27 +00:00
Jan Djärv
1520a816ef
* etags.c (readline): expect sscanf returns 2,
...
not 1.
2006-08-08 09:34:56 +00:00
Jan Djärv
867cc23e44
* etags.c (TEX_mode): Check getc retruns EOF.
...
File ended without newline causes infinite loop.
2006-08-08 09:33:10 +00:00
Francesco Potortì
fc185ae6a7
*** empty log message ***
2006-07-30 09:41:41 +00:00
Andreas Schwab
116e754b8c
.
2006-07-20 13:33:59 +00:00
Dan Nicolaescu
2381d38d0a
* ebrowse.c (usage, version): Mark as NO_RETURN.
...
* emacsclient.c (print_help_and_exit): Likewise.
* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
* textprop.c (text_read_only): Likewise.
* lread.c (end_of_file_error): Likewise.
* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.
* eval.c (unwind_to_catch): Likewise.
* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Francesco Potortì
327891ebb9
(absolute_filename): Free unused space (cosmetic change).
...
(in_word_set): In C, also tag #undef symbols.
2006-07-11 11:01:27 +00:00
Eli Zaretskii
7cb93181b8
*** empty log message ***
2006-06-09 18:23:06 +00:00
Romain Francoise
63fbb6441f
Formatting fixes.
2006-06-05 11:56:03 +00:00
Masatake YAMATO
0f29c66d25
(main): Exit with EXIT_FAILURE if BROWSE file doesn't exist, is not seekable, not is failed in ftall.
2006-06-03 17:49:36 +00:00
Eli Zaretskii
9781fb53c8
(ALL): Add sorted-doc and digest-doc.
...
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
($(BLD)/test-distrib.exe): New targets.
(sorted-doc, digest-doc, test-distrib): New targets.
(install): Install sorted-doc.exe and digest-doc.exe.
($(BLD)/sorted-doc.$(O)): Update dependencies.
2006-06-03 15:30:02 +00:00
Eli Zaretskii
1b178b9902
[DOS_NT] <top level>: Include fcntl.h and io.h.
...
(main) [DOS_NT]: Switch stdin to binary mode, if it is not a terminal device.
2006-06-03 15:05:05 +00:00
Eli Zaretskii
ae85efdbd5
*** empty log message ***
2006-06-03 14:51:44 +00:00
Eli Zaretskii
a941b26bc2
*** empty log message ***
2006-06-03 12:12:34 +00:00
Francesco Potortì
8a6d5da7cc
*** empty log message ***
2006-05-23 10:43:33 +00:00
Eli Zaretskii
642c61f303
*** empty log message ***
2006-05-13 10:52:41 +00:00
Francesco Potortì
7e237d2403
(Perl_functions): Free space allocated for var package.
...
(Erlang_functions): Possibly free space allocated for var last.
(Prolog_functions): Possibly free space allocated for var last.
2006-05-02 10:15:29 +00:00
Dan Nicolaescu
7fe8b491e1
(main): Initialize docs to NULL.
2006-04-29 22:15:04 +00:00
Dan Nicolaescu
cdeda57951
(yow): Free buf.
2006-04-29 21:36:04 +00:00
Dan Nicolaescu
7c47913be1
Delete c-indentation-style local variable.
2006-04-29 20:15:48 +00:00
Richard M. Stallman
5e5b35c7ec
(main): Check for negative value from `read'.
2006-04-29 18:55:19 +00:00
Richard M. Stallman
2ef88a94ea
(read_header): Give fatal error if input has no header.
2006-04-29 18:52:23 +00:00
Paul Eggert
d65b42351f
* lib-src/b2m.c (main): Don't include <limits.h>.
...
(TM_YEAR_BASE): New macro.
(TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
that s/ files can override this. Use the more-conservative range
1000-9999.
(main): Check for asctime returning NULL.
* lib-src/fakemail.c: Likewise.
* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to
../lib-src/b2m.c and ../lib-src/editfns.c.
(Fcurrent_time_string): Use it.
Document that the year might not consume 4 columns if it's outside
the range 1000-9999.
Check for asctime failure.
Don't assume that the output string length is always exactly 24.
2006-04-04 04:13:02 +00:00