+2005-10-13 Andreas Schwab <schwab@suse.de>
+
+ * sysdep.c (request_sigio, unrequest_sigio): Do nothing in
+ non-interactive mode.
+
2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change.
void
request_sigio ()
{
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
#ifdef SIGWINCH
void
unrequest_sigio ()
{
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
#ifdef SIGWINCH
{
int on = 1;
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
ioctl (input_fd, FIOASYNC, &on);
{
int off = 0;
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
ioctl (input_fd, FIOASYNC, &off);
int on = 1;
sigset_t st;
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
sigemptyset (&st);
{
int off = 0;
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
ioctl (input_fd, FIOASYNC, &off);
void
request_sigio ()
{
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
croak ("request_sigio");
void
unrequest_sigio ()
{
- if (read_socket_hook)
+ if (noninteractive || read_socket_hook)
return;
croak ("unrequest_sigio");
void
request_sigio ()
{
+ if (noninteractive)
+ return;
croak ("request sigio");
}
void
unrequest_sigio ()
{
+ if (noninteractive)
+ return;
croak ("unrequest sigio");
}
void
request_sigio ()
{
+ if (noninteractive)
+ return;
sigrelse (SIGTINT);
interrupts_deferred = 0;
void
unrequest_sigio ()
{
+ if (noninteractive)
+ return;
sighold (SIGTINT);
interrupts_deferred = 1;