Commit c5e7567d authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* src/fileio.c:

* src/sysdep.c
* src/systty.h:
* src/m/ibmrs6000.h:
* src/m/iris4d.h:
* src/s/aix4-2.h:
* src/s/freebsd.h:
* src/s/gnu-linux.h:
* src/s/hpux10-20.h:
* src/s/hpux11.h:
* src/s/netbsd.h:
* src/s/sol2-3.h:
* src/s/sol2-4.h:
* src/s/sol2.h:
* src/s/usg5-4.h:
* src/s/vms.h: Remove references to unused variables.
parent 176fe5fc
......@@ -69,9 +69,6 @@ BROKEN_SIGAIO
BROKEN_SIGIO
BROKEN_SIGPOLL
BROKEN_SIGPTY
BROKEN_TIOCGETC
BROKEN_TIOCGWINSZ
BROKEN_XLISTFONTSWITHINFO
BSD4_2
BSD4_3
BSD_PGRPS
......@@ -106,12 +103,10 @@ EMACS_CONFIG_OPTIONS
EMACS_INT
EMACS_UINT
END_FILES_1
EXEC_SUFFIXES
EXPLICIT_SIGN_EXTEND
FILE_SYSTEM_CASE
FIRST_PTY_LETTER
FLOAT_CHECK_DOMAIN
FORCE_ALLOCA_H
FSCALE
Fread
GAP_USE_BCOPY
......@@ -132,7 +127,6 @@ HAVE_BCOPY
HAVE_CBRT
HAVE_CLOSEDIR
HAVE_CRTIN
HAVE_CRTN
HAVE_DUP2
HAVE_EUIDACCESS
HAVE_FACES
......@@ -215,8 +209,6 @@ HAVE_WINDOW_SYSTEM
HAVE_WORKING_VFORK
HAVE_XRMSETDATABASE
HPUX
HPUX11
HPUX_NET
IBMR2AIX
INHIBIT_X11R6_XIM
INTERNAL_TERMINAL
......@@ -252,7 +244,6 @@ LINKER
LINK_CRTL_SHARE
LINUX
LINUX_SBRK_BUG
LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK
LISP_FLOAT_TYPE
LNOFLSH
LOAD_AVE_CVT
......@@ -264,7 +255,7 @@ MAIL_USE_POP
MAIL_USE_SYSTEM_LOCK
MAXPATHLEN
MAX_PRINT_CHARS
MIN_PTY_KERNEL_VERSION
MIN_PTY_KERNEL_VERSION -- only used on Mac
MODE_LINE_BINARY_TEXT
MULTI_KBOARD
MUST_UNDEF__STDC__
......@@ -283,7 +274,6 @@ NOT_USING_MOTIF
NO_ABORT
NO_ARG_ARRAY
NO_EDITRES
NO_FILIO_H
NO_HYPHENS_IN_FILENAMES
NO_MATHERR
NO_REMAP
......@@ -297,7 +287,6 @@ NSIG_MINIMUM
NULL
NULL_DEVICE
N_BADMAG
N_BSSADDR
N_PAGSIZ
N_SYMOFF
N_TRELOFF
......@@ -333,7 +322,6 @@ SEPCHAR
SETPGRP_RELEASES_CTTY
SETUP_SLAVE_PTY
SHARABLE_LIB_BUG
SHMKEY
SIGALRM
SIGCHLD
SIGHUP
......@@ -344,9 +332,7 @@ SIGPIPE
SIGQUIT
SIGTRAP
SIGTYPE
SOCKLEN_TYPE
SOLARIS2
SOLARIS2_4
SPECIAL_EMACS_INT
START_FILES
START_FILES_1
......@@ -354,14 +340,12 @@ STDC_HEADERS
SYMS_SYSTEM
SYSTEM_PURESIZE_EXTRA
SYSTEM_TYPE
SYSV_STREAMS
SYSV_SYSTEM_DIR
S_IFLNK
Srandom
TAB3
TABDLY
TERM
TERMCAP_NAME
TERMINFO
TEXT_END
TEXT_START
......@@ -395,7 +379,6 @@ XOS_NEEDS_TIME_H
XPNTR
XSET
XUINT
X_DEFAULT_FONT
_AIX
_ARCH_PPC64
_CALLBACK_
......@@ -411,7 +394,6 @@ __ELF__
__FreeBSD__
__FreeBSD_version
__GNUC__
__LITTLE_ENDIAN
__NetBSD__
__OpenBSD__
__STDC__
......@@ -440,7 +422,6 @@ close
const
creat
ctime
drem
dup
dup2
edata
......
2008-07-10 Dan Nicolaescu <dann@ics.uci.edu>
* src/fileio.c:
* src/sysdep.c
* src/systty.h:
* src/m/ibmrs6000.h:
* src/m/iris4d.h:
* src/s/aix4-2.h:
* src/s/freebsd.h:
* src/s/gnu-linux.h:
* src/s/hpux10-20.h:
* src/s/hpux11.h:
* src/s/netbsd.h:
* src/s/sol2-3.h:
* src/s/sol2-4.h:
* src/s/sol2.h:
* src/s/usg5-4.h:
* src/s/vms.h: Remove references to unused variables.
2008-07-10 Andreas Schwab <schwab@suse.de>
* ftfont.c (ftfont_resolve_generic_family): Remove foundry from
......
......@@ -2987,26 +2987,6 @@ If STRING is nil or a null string, the logical name NAME is deleted. */)
}
#endif /* VMS */
#ifdef HPUX_NET
DEFUN ("sysnetunam", Fsysnetunam, Ssysnetunam, 2, 2, 0,
doc: /* Open a network connection to PATH using LOGIN as the login string. */)
(path, login)
Lisp_Object path, login;
{
int netresult;
CHECK_STRING (path);
CHECK_STRING (login);
netresult = netunam (SDATA (path), SDATA (login));
if (netresult == -1)
return Qnil;
else
return Qt;
}
#endif /* HPUX_NET */
DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p,
1, 1, 0,
......@@ -6398,9 +6378,6 @@ When non-nil, the function `move-file-to-trash' will be used by
#ifdef VMS
defsubr (&Sdefine_logical_name);
#endif /* VMS */
#ifdef HPUX_NET
defsubr (&Ssysnetunam);
#endif /* HPUX_NET */
defsubr (&Sfile_name_absolute_p);
defsubr (&Sfile_exists_p);
defsubr (&Sfile_executable_p);
......
......@@ -86,7 +86,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Use shared memory. */
/* This is turned off because it does not always work. See etc/AIX.DUMP. */
/* #define HAVE_SHM */
#define SHMKEY 5305035 /* used for shared memory code segments */
#endif /* CANNOT_DUMP */
#define N_BADMAG(x) BADMAG(x)
......@@ -100,11 +99,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#undef ADDR_CORRECT
#define ADDR_CORRECT(x) ((int)(x))
/* Specify the font for X to use.
This used to be Rom14.500; that's nice on the X server shipped with
the RS/6000, but it's not available on other servers. */
#define X_DEFAULT_FONT "fixed"
/* Here override various assumptions in ymakefile */
#ifndef USG5
......@@ -141,8 +135,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define BROKEN_SIGPTY
#define BROKEN_SIGPOLL
/* Don't try to include sioctl.h or ptem.h. */
#undef NEED_SIOCTL
/* Don't try to include ptem.h. */
#undef NEED_PTEM_H
#define ORDINARY_LINK
......
......@@ -101,21 +101,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define LIBS_MACHINE
#define LIBS_DEBUG
/* Define this if you have a fairly recent system,
in which crt1.o and crt1.n should be used. */
#define HAVE_CRTN
#ifndef USG5_4
#ifdef HAVE_CRTN
/* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */
#define START_FILES pre-crt0.o /usr/lib/crt1.o
#define LIB_STANDARD -lc /usr/lib/crtn.o
#else
#define START_FILES pre-crt0.o /usr/lib/crt0.o
/* The entry-point label (start of text segment) is `start', not `__start'. */
#define DEFAULT_ENTRY_ADDRESS start
#define LIB_STANDARD -lc
#endif
#endif
/* Use terminfo instead of termcap. */
......
......@@ -176,10 +176,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
It is just a guess which versions of AIX need this definition. */
#define HAVE_WAIT_HEADER
/* Specify the type that the 3rd arg of `accept' points to.
It is just a guess which versions of AIX need this definition. */
#define SOCKLEN_TYPE int
/* olson@mcs.anl.gov says -li18n is needed by -lXm. */
#define LIB_MOTIF -lXm -li18n
......
......@@ -91,8 +91,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define LIB_GCC -lgcc
#ifndef N_TRELOFF
#define N_PAGSIZ(x) __LDPGSZ
#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
#define N_TRELOFF(x) N_RELOFF(x)
#endif
#else /* NO_SHARED_LIBS */
......
......@@ -43,7 +43,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <linux/version.h>
#if LINUX_VERSION_CODE >= 0x20400
#define LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK
/* 21 Jun 06: Eric Hanchrow <offby1@blarg.net> says this works. */
#define SIGNALS_VIA_CHARACTERS
#endif /* LINUX_VERSION_CODE >= 0x20400 */
#endif /* HAVE_LINUX_VERSION_H */
#endif /* emacs */
......@@ -223,11 +224,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define C_DEBUG_SWITCH
#endif
/* 21 Jun 06: Eric Hanchrow <offby1@blarg.net> says this works. */
#ifdef LINUX_SIGNALS_VIA_CHARACTERS_DOES_WORK
#define SIGNALS_VIA_CHARACTERS
#endif
/* Rob Malouf <malouf@csli.stanford.edu> says:
SYSV IPC is standard a standard part of Linux since version 0.99pl10,
and is a very common addition to previous versions. */
......
......@@ -227,16 +227,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#undef random
#undef HAVE_RANDOM
#define FORCE_ALLOCA_H
/* AlainF 20-Jul-1996 says this is right. */
#define KERNEL_FILE "/stand/vmunix"
#ifdef HPUX_NET
#define LIBS_SYSTEM -ln -l:libdld.sl
#else
#define LIBS_SYSTEM -l:libdld.sl
#endif
/* Rainer Malzbender <rainer@displaytech.com> says definining
HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20
......
#include "hpux10-20.h"
#define HPUX11
#ifdef POSIX_SIGNALS
#undef POSIX_SIGNALS
#endif
......
......@@ -72,8 +72,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Try to make this work for both 0.9 and >0.9. */
#ifndef N_TRELOFF
#define N_PAGSIZ(x) __LDPGSZ
#define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
#define N_TRELOFF(x) N_RELOFF(x)
#endif
#endif /* not NO_SHARED_LIBS and not ELF */
......
......@@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "sol2.h"
/* Solaris 2.3 has a bug in XListFontsWithInfo. */
#define BROKEN_XLISTFONTSWITHINFO
/* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */
#undef LD_SWITCH_SYSTEM
......
......@@ -2,8 +2,6 @@
#include "sol2-3.h"
#define SOLARIS2_4
/* Get rid of -traditional and let const really do its thing. */
#ifdef __GNUC__
......
......@@ -22,11 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define SOLARIS2
/* eggert@twinsun.com said these work in Solaris.
Perhaps they work in all kinds of SVR4, but this is more conservative. */
#undef BROKEN_TIOCGETC
#undef BROKEN_TIOCGWINSZ
/* This triggers a conditional in xfaces.c. */
#define XOS_NEEDS_TIME_H
......
......@@ -201,9 +201,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#endif
#ifdef emacs
#ifndef NO_FILIO_H
#include <sys/filio.h>
#endif
#include <termio.h>
#include <sys/ttold.h>
#include <signal.h>
......@@ -283,9 +281,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
fatal ("ioctl I_PUSH ttcompat", errno);
/* Tell x11term.c and keyboard.c we have the system V streams feature. */
#define SYSV_STREAMS
/* This definition was suggested for next release.
So give it a try. */
#define HAVE_SOCKETS
......
......@@ -151,7 +151,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifndef _GNUC_
extern double mth$dmod(double, double);
#define drem mth$dmod
#endif
/* Some time routines are missing in the VAX C RTL, or needs some
......@@ -240,10 +239,6 @@ globalref char sdata[];
#define NULL_DEVICE "NLA0:"
#define TERMCAP_NAME "emacs_library:[etc]termcap.dat"
#define EXEC_SUFFIXES ".exe:.com"
/* Case conflict with Xlib XFree () */
#define xfree emacs_xfree
......
......@@ -135,18 +135,10 @@ extern int errno;
#include "systty.h"
#include "syswait.h"
#ifdef BROKEN_TIOCGWINSZ
#undef TIOCGWINSZ
#undef TIOCSWINSZ
#endif
#if defined (USG)
#include <sys/utsname.h>
#include <memory.h>
#if defined (TIOCGWINSZ)
#ifdef NEED_SIOCTL
#include <sys/sioctl.h>
#endif
#ifdef NEED_PTEM_H
#include <sys/stream.h>
#include <sys/ptem.h>
......
......@@ -118,10 +118,6 @@ static struct sensemode {
/* Special cases - inhibiting the use of certain features. */
#ifdef BROKEN_TIOCGETC
#undef TIOCGETC /* Avoid confusing some conditionals that test this. */
#endif
/* Allow m- file to inhibit use of FIONREAD. */
#ifdef BROKEN_FIONREAD
#undef FIONREAD
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment