* config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
[deliverable/binutils-gdb.git] / gdb / ser-unix.c
index b147c73606f52303afcb41fd79ce1cb915f48b9f..5f07adec0c5992ee14feb5b2b7158aa1c3ced99e 100644 (file)
@@ -159,9 +159,7 @@ set_tty_state(scb, state)
   if (!job_control)
     return 0;
 
-  /* Need to ignore errors, at least if attach_flag is set.  */
-  tcsetpgrp (scb->fd, state->process_group);
-  return 0;
+  return tcsetpgrp (scb->fd, state->process_group);
 #endif
 
 #ifdef HAVE_TERMIO
@@ -177,9 +175,7 @@ set_tty_state(scb, state)
   if (!job_control)
     return 0;
 
-  /* Need to ignore errors, at least if attach_flag is set.  */
-  ioctl (scb->fd, TIOCSPGRP, &state->process_group);
-  return 0;
+  return ioctl (scb->fd, TIOCSPGRP, &state->process_group);
 #endif
 }
 
This page took 0.023193 seconds and 4 git commands to generate.