From 4624371d9a4c1a078bcb7a305adb0520cd8975bc Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 9 Feb 2008 18:03:10 +0000 Subject: * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code dealing with obsolete variables. * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional. (main): Replace MAIL_PROGRAM_NAME with its value. * src/Makefile.in: * src/emacs.c: * src/gmalloc.c: * src/keyboard.c: * src/lisp.h: * src/m/ibm370aix.h: * src/process.c: * src/regex.c: * src/s/hpux.h: * src/sysdep.c: * src/sysselect.h: * src/systty.h: * src/unexec.c: * src/w32term.c: * src/xsmfns.c: * src/xterm.c: Remove code that deals with obsolete variables. * s/msdos.h (DONT_NEED_ENVIRON): Don't define. * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test, nothing else needs it anymore. --- src/xterm.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/xterm.c') diff --git a/src/xterm.c b/src/xterm.c index cf806e49c3..840c874950 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11533,16 +11533,9 @@ x_term_init (display_name, xrm_option, resource_name) add_keyboard_wait_descriptor (connection); #endif -#ifndef F_SETOWN_BUG #ifdef F_SETOWN -#ifdef F_SETOWN_SOCK_NEG - /* stdin is a socket here */ - fcntl (connection, F_SETOWN, -getpid ()); -#else /* ! defined (F_SETOWN_SOCK_NEG) */ fcntl (connection, F_SETOWN, getpid ()); -#endif /* ! defined (F_SETOWN_SOCK_NEG) */ #endif /* ! defined (F_SETOWN) */ -#endif /* F_SETOWN_BUG */ #ifdef SIGIO if (interrupt_input) -- cgit v1.2.3