Undef SIOCSPGRP if on Linux
authorMichael Meissner <gnu@the-meissners.org>
Fri, 5 Apr 1996 18:27:08 +0000 (18:27 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Fri, 5 Apr 1996 18:27:08 +0000 (18:27 +0000)
gdb/ChangeLog
gdb/gdbtk.c

index 2c628ac..dc6ff49 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr  5 13:25:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
+       some versions of the kernel don't support it.
+
 Thu Apr  4 20:16:55 1996  Fred Fish  <fnf@cygnus.com>
 
        * configure.in: Check for setpgid function.
index 31903f2..75108ac 100644 (file)
@@ -49,6 +49,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include <sys/stropts.h>
 #endif
 
+/* Some versions (1.3.79, 1.3.81) of Linux don't support SIOCSPGRP the way
+   gdbtk wants to us it... */
+#ifdef __linux__
+#undef SIOCSPGRP
+#endif
+
 /* Handle for TCL interpreter */
 static Tcl_Interp *interp = NULL;