changeset 4142:6cdfdbe5058b

* xterm.c, sysdep.c (F_SETOWN_BUG): Defined. * m/dpx2.h: New file.
author Jim Blandy <jimb@redhat.com>
date Sun, 18 Jul 1993 06:27:15 +0000
parents 373bff27d0d6
children 5c8de184cccf
files src/sysdep.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Sun Jul 18 06:26:51 1993 +0000
+++ b/src/sysdep.c	Sun Jul 18 06:27:15 1993 +0000
@@ -965,9 +965,11 @@
 int lmode;
 #endif
 
+#ifndef F_SETOWN_BUG
 #ifdef F_SETOWN
 int old_fcntl_owner;
 #endif /* F_SETOWN */
+#endif /* F_SETOWN_BUG */
 
 /* This may also be defined in stdio,
    but if so, this does no harm,
@@ -1226,6 +1228,7 @@
     }
 
 #ifdef F_SETFL
+#ifndef F_SETOWN_BUG
 #ifdef F_GETOWN		/* F_SETFL does not imply existence of F_GETOWN */
   if (interrupt_input)
     {
@@ -1234,6 +1237,7 @@
       init_sigio ();
     }
 #endif /* F_GETOWN */
+#endif /* F_SETOWN_BUG */
 #endif /* F_SETFL */
 
 #ifdef BSD4_1
@@ -1375,6 +1379,7 @@
 #endif
 
 #ifdef F_SETFL
+#ifndef F_SETOWN_BUG
 #ifdef F_SETOWN		/* F_SETFL does not imply existence of F_SETOWN */
   if (interrupt_input)
     {
@@ -1382,6 +1387,7 @@
       fcntl (0, F_SETOWN, old_fcntl_owner);
     }
 #endif /* F_SETOWN */
+#endif /* F_SETOWN_BUG */
 #endif /* F_SETFL */
 #ifdef BSD4_1
   if (interrupt_input)