Andreas Schwab
e120ea40ca
(sys_subshell): Properly terminate execlp argument list.
2005-02-05 19:40:23 +00:00
Jan Djärv
333f1b6f78
* syssignal.h: Declare main_thread.
...
(SIGNAL_THREAD_CHECK): New macro.
* keyboard.c (input_available_signal): Move thread checking code
to macro SIGNAL_THREAD_CHECK and call that macro.
(interrupt_signal): Call SIGNAL_THREAD_CHECK.
* alloc.c (uninterrupt_malloc): Move main_thread to emacs.c.
* emacs.c: Define main_thread.
(main): Initialize main_thread.
(handle_USR1_signal, handle_USR2_signal, fatal_error_signal)
(memory_warning_signal): Call SIGNAL_THREAD_CHECK.
* floatfns.c (float_error): Call SIGNAL_THREAD_CHECK.
* dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.
* sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.
* process.c (send_process_trap, sigchld_handler): Call
SIGNAL_THREAD_CHECK.
* data.c (arith_error): Call SIGNAL_THREAD_CHECK.
* atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
2004-12-15 21:40:41 +00:00
Stefan Monnier
77220eeb1e
(emacs_write): Don't use QUIT.
2004-11-29 14:39:09 +00:00
Stefan Monnier
275464e7a5
(sys_signal): Don't use SA_RESTART if SYNC_INPUT is set.
...
(emacs_open, emacs_read, emacs_write): Check QUIT when interrupted.
2004-11-25 20:01:39 +00:00
Kim F. Storm
fa51fa32b7
(child_setup_tty, init_sys_modes): Use CDISABLE.
2004-08-19 10:08:15 +00:00
Richard M. Stallman
dfe598b54e
(child_setup_tty) [SIGNALS_VIA_CHARACTERS]:
...
Set VQUIT and VINTR chars to the standard ones if they are unset.
[AIX]: Don't do that here. And don't force VINTR to standard
when SIGNALS_VIA_CHARACTERS.
2004-08-16 23:02:19 +00:00
Steven Tamm
bfcf660801
mac.c (sys_select): Block input around call to
...
ReceiveNextEvent to prevent breakage. Correctly handle
blocking on event queue only by calling ReceiveNextEvent
instead of select (since GUI events aren't on an fd).
(sys_read): Remove function
sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON
2004-07-19 06:38:14 +00:00
Kim F. Storm
9f893fc68f
(BUFFER_SIZE_FACTOR): Remove.
...
(read_input_waiting): Adapt to new read_socket_hook interface.
Remove allocation and initialization of local input_event buffer,
as read_socket_hook stores events directly in fifo. Allocate and
initialize local hold_quit event to handle postponed quit event
(and store it if set by kbd_buffer_store_event_hold).
2004-02-27 23:47:48 +00:00
Jan Djärv
5890e9f7ac
Move include stdio.h to same place as in other files.
2004-02-09 15:39:49 +00:00
Jan Djärv
6b0824c950
(mkdir, rmdir): Also check synch_process_termsig.
2004-01-26 23:40:08 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Stefan Monnier
50acda85ee
(kbd_input_ast, read_input_waiting): Don't pass uninitialized
...
data to kbd_buffer_store_event.
2003-06-15 21:04:16 +00:00
Dave Love
b80263be1b
Remove redundant include of unistd.h, stdlib.h. Use
...
HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED.
2003-06-12 22:14:31 +00:00
Kim F. Storm
90022f5a3e
Make (few) trivial substitutions for renamed and
...
new macros in dispextern.h, frame.h and window.h.
2003-05-24 22:07:03 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Steven Tamm
3605200c46
Have emacs_read use sys_read on carbon/Mac OS X
2002-12-08 06:00:10 +00:00
Richard M. Stallman
612221ab83
(fcntl.h): Test only HAVE_FCNTL_H.
2002-12-04 11:44:34 +00:00
Dave Love
0c2338d819
(stuff_char) [PROTOTYPES]: Provide ISO C arglist.
2002-11-22 12:22:43 +00:00
Eli Zaretskii
feb67dfe47
[MSDOS]: Don't define request_sigio and
...
unrequest_sigio, they are defined on msdos.c.
2002-08-19 18:19:42 +00:00
Richard M. Stallman
7ce1c4de0e
[!VMS]: Include sys/files.h.
2002-08-17 04:56:13 +00:00
Ken Raeburn
be3abfa2c3
(start_of_data): Don't define the function if a macro
...
form has been defined.
2002-07-24 02:07:41 +00:00
Ken Raeburn
5646864937
(end_of_text, end_of_data): Unused functions deleted.
2002-07-21 14:17:24 +00:00
Ken Raeburn
7b1cc11936
(emacs_write): Buffer pointer now const.
2002-07-19 14:37:13 +00:00
Ken Raeburn
8c2ba7decc
(emacs_open, set_file_times): String pointer args now
...
point to const.
2002-07-16 19:49:00 +00:00
Ken Raeburn
d5db40779d
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
...
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Richard M. Stallman
55fafcf080
(sys_signal): Test BROKEN_SA_RESTART.
2002-07-11 17:29:56 +00:00
Pavel Janík
e43bd4f5b2
*** empty log message ***
2002-06-13 15:00:02 +00:00
Andrew Choi
e0f712ba55
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
...
lisp/ChangeLog, and src/ChangeLog for list of changes.
2002-04-26 23:39:06 +00:00
Stefan Monnier
0fdcb86754
(wait_for_termination): Use sigsuspend rather than sigpause.
2002-03-22 22:53:13 +00:00
Stefan Monnier
31ade731e6
Change defvar_int def and vars to use EMACS_INT instead of just int.
2002-03-04 23:41:00 +00:00
Eli Zaretskii
48178f9aaf
(sys_subshell): Fix last change.
2002-03-04 20:15:56 +00:00
Eli Zaretskii
c0917202cf
(sys_subshell) [MSDOS]: If PWD is set in the
...
environment, pass it down with corrected value.
2002-03-04 20:08:37 +00:00
Pavel Janík
7c15926f17
(init_system_name): Put unused variable `p' in #if 0.
2002-02-08 09:46:14 +00:00
Pavel Janík
4838e624ad
Include <config.h>.
2002-01-01 19:15:26 +00:00
Richard M. Stallman
8a2a6032da
Test GNU_LINUX, not LINUX.
2001-12-11 22:20:20 +00:00
Richard M. Stallman
2ea99a1e34
Comment change.
2001-11-19 14:47:58 +00:00
Pavel Janík
61851c0e95
(wait_for_kbd_input) [VMS]: Do not call clear_waiting_for_input with
...
argument.
2001-11-16 22:50:51 +00:00
Richard M. Stallman
5a04bfa984
(child_setup_tty): Don't clear ICRNL or INLCR.
2001-11-11 20:11:14 +00:00
Pavel Janík
dfe45eff10
(delete-exited-processes): Change doc-string comments to new style' [w/doc:' keyword].
2001-10-21 12:08:54 +00:00
Gerd Moellmann
402c9a5121
(child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]:
...
Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>.
2001-10-08 08:59:50 +00:00
Gerd Moellmann
32c82ac0a1
Don't define min/max.
2001-10-08 08:08:08 +00:00
Gerd Moellmann
59957f85f4
(wait_for_termination) [POSIX_SIGNALS]: Terminate
...
only if kill returns -1, and errno is ESRCH.
2001-09-21 14:09:22 +00:00
Gerd Moellmann
ac3ac8592f
(wait_for_termination): Add a FIXME comment for the use of non-POSIX
...
sigpause.
2001-09-20 13:24:09 +00:00
Gerd Moellmann
18b6bc735c
(getwd) [!HAVE_GETWD]: Unblock input before returning.
2001-04-05 14:59:37 +00:00
Gerd Moellmann
3007ebfbc7
Call redisplay_preserve_echo_area with additional arg.
2001-01-16 12:42:22 +00:00
Dave Love
1bfb134516
(random): Revert the declaration.
2001-01-10 11:54:41 +00:00
Gerd Moellmann
22b5642678
Update copyright.
2001-01-05 11:27:09 +00:00
Gerd Moellmann
ff4c29f42c
Don't prototype srandom; it takes an unsigned argument
...
on some systems, and an unsigned long on others, like FreeBSD 4.1.
2001-01-05 11:26:08 +00:00
Dave Love
8296bbf80b
(random, srandom): Declare explicitly.
2001-01-04 17:47:01 +00:00
Kenichi Handa
8581cd6424
Move the code for declaring h_errno after #include <netdb.h>.
2000-11-21 23:56:56 +00:00