| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
(exec_sentinel): Likewise.
|
| | |
|
| |
|
|
|
|
| |
Don't declare sys_errlist unless #ifdef VMS.
Declare strerror instead.
(wait_reading_process_input): Call strerror instead of using sys_errlist.
|
| | |
|
| |
|
|
| |
to the process marker.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
[BROKEN_O_NONBLOCK]: Undefine O_NONBLOCK.
(create_process): Delete SYSV4_PTYS code.
(deactivate_process): Likewise.
(create_process) [SET_CHILD_PTY_PGRP]: Do ioctls
to set the pgrp of the pty.
(wait_reading_process_input): Call prepare_menu_bars.
|
| | |
|
| |
|
|
| |
(process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use -1 to mean wait_channel is empty.
Start process loop with descriptor 0 if keyboard_descriptor is not 0.
(make_process): Initialize descriptors to -1.
(Fdelete_process): -1 means empty, in infd.
(deactivate_process): Likewise.
(process_send_signal): Likewise.
(kill_buffer_processes): Likewise.
(sigchld_handler): Likewise.
(status_notify): Likewise.
(close_process_descs): Likewise.
(create_process): Likewise.
(Fopen_network_stream): Likewise.
(send_process): Likewise.
(Fprocess_send_eof): Likewise. Use XINT when closing outfd.
(Fset_process_filter): Use XINT to get infd value.
(wait_reading_process_input): Likewise.
(wait_reading_process_input): When bypassing select, clear Available.
|
| |
|
|
| |
(Fopen_network_stream): Use them.
|
| | |
|
| |
|
|
| |
(Fopen_network_stream): Handle TERM.
|
| | |
|
| |
|
|
| |
(Fset_process_filter): Set or clear bit in input_wait_mask when nec.
|
| | |
|
| |
|
|
|
|
| |
(wait_reading_process_input, init_keyboard): Use it.
Also call change_input_fd.
(change_keyboard_wait_descriptor): New function.
|
| |
|
|
|
| |
(wait_reading_process_input): Exit without waiting
if wait_for_cell is already non-nil.
|
| |
|
|
| |
when wait_for_cell, do not check the keyboard.
|
| |
|
|
| |
if unknown process name.
|
| |
|
|
| |
second alternative definition.
|
| |
|
|
| |
swallow_events and do_pending_window_change when appropriate.
|
| |
|
|
| |
in the select, if read_kbd was a cons cell.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* s/irix4-0.h: Get rid of our fake definitions for setpgrp and
getpgrp.
* callproc.c (Fcall_process): Go ahead and use the USG calling
convention for setpgrp.
* ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help
separate-source-directory compilation.
* emacs.c (shut_down_emacs): Some USG systems #define
EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
* sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
non-USG.
* process.c [IRIX] (create_process): Don't put child in process
group zero before opening the tty; Irix is like USG in this
regard.
|
| |
|
|
|
|
| |
call setpgrp with arguments, even if USG is #defined.
* process.c [IRIX] (create_process): Don't call setpgrp before
opening the pty. Call it after doing the TIOCNOTTY ioctl.
|
| | |
|
| |
|
|
| |
Do restore Vdeactivate_mark, so that no one else deactivates it.
|
| | |
|
| |
|
|
|
| |
(Fopen_network_stream): Cast the second argument to connect, to
avoid warnings on any system that provides prototypes for connect.
|
| | |
|
| | |
|
| |
|
|
| |
Save and restore Vdeactivate_mark.
|
| | |
|
| | |
|
| |
|
|
| |
(sys_siglist) [LINUX]: Don't even declare it.
|
| | |
|
| |
|
|
| |
only have the h_addr field in their struct hostent.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* s/template.h: Mention that you should #define HAVE_TERMIO or
HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
tcsetpgrp to *pgid; it's just a status value.
* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
systems using XFree386, and perhaps is inappropriate in general.
* m/intel386.h: #undefine the integer size macros, since the Linux
<values.h> file #defines them itself.
* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
fails, fall back on ULIMIT_BREAK_VALUE.
* process.c: Linux needs the WAITTYPE, etc. definitions.
* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
no need to use SYSV names.
* s/linux.h: New file.
|
| |
|
|
|
|
| |
29th, since that re-introduces the race condition the comments are
warning about. Call clear_waiting_for_input before calling
status_notify, though.
|
| |
|
|
|
| |
clear_waiting_for_input when we exit the loop because process
input has arrived.
|
| |
|
|
| |
inaccessible.
|
| | |
|
| |
|
|
|
|
| |
Solaris, it's not necessary to check if we should redeliver SIGIO,
according to David Mackenzie.
* s/sol2.h: #include "usg5-4.h", and #define const.
|
| |
|
|
| |
call before the set_waiting_for_input call.
|
| |
|
|
|
|
|
|
|
|
|
| |
equivalent of /dev/null, and the suffixes used by executable
files. This is simple, and helps people porting Emacs to other
operating systems.
* process.h (NULL_DEVICE): Give this a default value.
* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
Use NULL_DEVICE instead of "/dev/null".
|
| |
|
|
|
|
|
|
|
|
|
|
| |
floating-point as well as integer arguments. subr.el defines the
former as an alias for the latter.
* data.c (Fnumber_to_string): Renamed from Fint_to_string.
(wrong_type_argument): Adjust caller.
(syms_of_data): Adjust defsubr.
* fns.c (concat): Adjust caller.
* lisp.h (Fnumber_to_string): Adjust extern declaration.
* mocklisp.c (Finsert_string): Adjust caller.
* process.c (status_message): Adjust caller.
|