]> granicus.if.org Git - vim/commitdiff
patch 9.0.0287: Irix systems no longer exist v9.0.0287
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 27 Aug 2022 20:24:26 +0000 (21:24 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 27 Aug 2022 20:24:26 +0000 (21:24 +0100)
Problem:    Irix systems no longer exist.
Solution:   Remove references to Irix. (Yegappan Lakshmanan, closes #10994)

src/Makefile
src/filepath.c
src/install-sh
src/optiondefs.h
src/os_unix.c
src/os_unix.h
src/pty.c
src/version.c

index d01c18b8389634c30c33a869785ff0ee88df2821..c4f480dced488f152c90d02157a8f03fccfccbb2 100644 (file)
 #AIX 4.2.1           cc                                5.2k (C) Will Fiveash
 #AIX 4.3.3.12        xic 3.6.6                         5.6  (5) David R. Favor
 #A/UX 3.1.1          gcc            +X11               4.0  (6) Jim Jagielski
-#BeOS PR             mwcc DR3                          5.0n (T) Olaf Seibert
 #BSDI 2.1 (x86)       shlicc2 gcc-2.6.3 -X11 X11R6     4.5  (1) Jos Backus
 #BSD/OS 3.0 (x86)     gcc gcc-2.7.2.1 -X11 X11R6       4.6c (1) Jos Backus
 #CX/UX 6.2           cc             +X11 +GUI_Mofif    5.4  (V) Kipp E. Howard
 #DG/UX 5.4R4.20       gcc 2.7.2      GUI               5.0s (H) Rocky Olive
 #HP-UX (most)        c89 cc                            5.1  (2) Bram Moolenaar
 #HP-UX_9.04          cc             +X11 +Motif        5.0  (2) Carton Lao
-#Irix 6.3 (O2)       cc             ?                  4.5  (L) Edouard Poor
-#Irix 6.4            cc             ?                  5.0m (S) Rick Sayre
-#Irix 6.5            cc             ?                  6.0  (S) David Harrison
-#Irix 64 bit                                           4.5  (K) Jon Wright
 #Linux 2.0           gcc-2.7.2      Infomagic Motif    4.3  (3) Ronald Rietman
 #NEC UP4800 UNIX_SV 4.2MP  cc       +X11R6 Motif       4.6b (Q) Lennart Schultz
 #NetBSD 1.0A         gcc-2.4.5      -X11 -GUI          3.21 (X) Juergen Weigert
 # (P)  For SuperUX 6.2 on NEC SX-4 see a few lines below to uncomment.
 # (Q)  For UNIXSVR 4.2MP on NEC UP4800 see below for lines to uncomment.
 # (R)  For Solaris 2.5 (or 2.5.1) with gcc > 2.5.6, uncomment line below.
-# (S)  For Irix 6.x with MipsPro compiler, use -OPT:Olimit.  See line below.
-# (T)  See ../doc/os_beos.txt.
 # (U)  Must uncomment CONF_OPT_PYTHON option below to disable Python
 #      detection, since the configure script runs into an error when it
 #      detects Python (probably because of the bash shell).
@@ -887,51 +880,6 @@ SANITIZER_LIBS = $(SANITIZER_CFLAGS)
 #CONF_OPT_X = --x-include=$(XROOT)/include --x-libraries=$(XROOT)/lib/X11R6
 #EXTRA_LIBS = -lsocket -lgen
 
-### Irix 4.0 & 5.2 (Silicon Graphics Machines, __sgi will be defined)
-# Not needed for Irix 5.3, Ives Aerts reported
-#EXTRA_LIBS = -lmalloc -lc_s
-# Irix 4.0, when regexp and regcmp cannot be found when linking:
-#EXTRA_LIBS = -lmalloc -lc_s -lPW
-
-### (S) Irix 6.x (MipsPro compiler): Uses different Olimit flag:
-# Note:        This newer option style is used with the MipsPro compilers ONLY if
-#      you are compiling an "n32" or "64" ABI binary (use either a -n32
-#      flag or a -64 flag for CFLAGS).  If you explicitly use a -o32 flag,
-#      then the CFLAGS option format will be the typical style (i.e.
-#      -Olimit 3000).
-#CFLAGS = -OPT:Olimit=3000 -O
-
-### (S) Irix 6.5 with MipsPro C compiler.  Try this as a test to see new
-#      compiler features!  Beware, the optimization is EXTREMELY thorough
-#      and takes quite a long time.
-# Note: See the note above.  Here, the -mips3 option automatically
-#      enables either the "n32" or "64" ABI, depending on what machine you
-#      are compiling on (n32 is explicitly enabled here, just to make sure).
-#CFLAGS = -OPT:Olimit=3500 -O -n32 -mips3 -IPA:aggr_cprop=ON -INLINE:dfe=ON:list=ON:must=screen_char,out_char,ui_write,out_flush
-#LDFLAGS= -OPT:Olimit=3500 -O -n32 -mips3 -IPA:aggr_cprop=ON -INLINE:dfe=ON:list=ON:must=screen_char,out_char,ui_write,out_flush
-
-### (K) for SGI Irix machines with 64 bit pointers ("uname -s" says IRIX64)
-###    Suggested by Jon Wright <jon@gate.sinica.edu.tw>.
-###    Tested on R8000 IRIX6.1 Power Indigo2.
-###    Check /etc/compiler.defaults for your compiler settings.
-# either (for 64 bit pointers) uncomment the following line
-#GUI_LIB_LOC = -L/usr/lib64
-# then
-# 1) make config
-# 2) edit auto/config.mk and delete the -lelf entry in the LIBS line
-# 3) make
-#
-# or (for 32bit pointers) uncomment the following line
-#EXTRA_DEFS = -n32
-#GUI_LIB_LOC = -L/usr/lib32
-# then
-# 1) make config
-# 2) edit auto/config.mk, add -n32 to LDFLAGS
-# 3) make
-#
-#Alternatively: use -o32 instead of -n32.
-###
-
 ### (C)  On SCO Unix v3.2.5 (and probably other versions) the termcap library,
 ###     which is found by configure, doesn't work correctly.  Symptom is the
 ###     error message "Termcap entry too long".  Uncomment the next line.
index 646a25e62e46ddec679f8bbd85ba3a28a675aeef..70e0fd4e736a2860d2197520b5c8e411f633fc2c 100644 (file)
@@ -4071,10 +4071,8 @@ addfile(
     /*
      * Append a slash or backslash after directory names if none is present.
      */
-#ifndef DONT_ADD_PATHSEP_TO_DIR
     if (isdir && (flags & EW_ADDSLASH))
        add_pathsep(p);
-#endif
     ((char_u **)gap->ga_data)[gap->ga_len++] = p;
 }
 
index 0b0fdcbba69ab6dd05ca162a5328828d46ab1d54..14d0b78a8a102e6a62ce19afba03acb00a1adeb3 100644 (file)
@@ -332,7 +332,7 @@ do
             then
               if test -z "$dir_arg" || {
                    # Check for POSIX incompatibilities with -m.
-                   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+                   # HP-UX 11.23 mkdir -m -p sets group- or
                    # other-writable bit of parent directory when it shouldn't.
                    # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
                    ls_ld_tmpdir=`ls -ld "$tmpdir"`
index eeb445c9ac0f793779d9facf7a8291a8b0c2c5a4..2e24cdd9e2a04e46d8a8c320a21c5e6ee922e39c 100644 (file)
@@ -1307,11 +1307,7 @@ static struct vimoption options[] =
                            {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
     {"imdisable",   "imd",  P_BOOL|P_VI_DEF,
                            (char_u *)&p_imdisable, PV_NONE,
-#ifdef __sgi
-                           {(char_u *)TRUE, (char_u *)0L}
-#else
                            {(char_u *)FALSE, (char_u *)0L}
-#endif
                            SCTX_INIT},
     {"iminsert",    "imi",  P_NUM|P_VI_DEF,
                            (char_u *)&p_iminsert, PV_IMI,
index 7aa3d1f0c7e741fa079f165267c286391071c6dc..4dadac30af9a43d80c917f0cae0be2059a4687c0 100644 (file)
@@ -252,7 +252,7 @@ static xsmp_config_T xsmp;
 /*
  * I have seen
  *  extern char *_sys_siglist[NSIG];
- * on Irix, Linux, NetBSD and Solaris. It contains a nice list of strings
+ * on Linux, NetBSD and Solaris. It contains a nice list of strings
  * that describe the signals. That is nearly what we want here.  But
  * autoconf does only check for sys_siglist (without the underscore), I
  * do not want to change everything today.... jw.
index 00ae239ea20d35a9363b26ca92759af963487981..d87ec90f48cf7b6088e49648afbabfb0e94fcae1 100644 (file)
 // have an argument???
 #define SIGHASARG
 
-// List 3 arg systems here. I guess __sgi, please test and correct me. jw.
-#if defined(__sgi) && defined(HAVE_SIGCONTEXT)
-# define SIGHAS3ARGS
-#endif
-
 #ifdef SIGHASARG
-# ifdef SIGHAS3ARGS
-#  define SIGPROTOARG  (int, int, struct sigcontext *)
-#  define SIGDEFARG(s) (int s, int sig2, struct sigcontext *scont)
-#  define SIGDUMMYARG  0, 0, (struct sigcontext *)0
-# else
-#  define SIGPROTOARG  (int)
-#  define SIGDEFARG(s) (int s UNUSED)
-#  define SIGDUMMYARG  0
-# endif
+# define SIGPROTOARG   (int)
+# define SIGDEFARG(s)  (int s UNUSED)
+# define SIGDUMMYARG   0
 #else
 # define SIGPROTOARG   (void)
 # define SIGDEFARG(s)  ()
index 7cd01aef4593ac1ed6ea394bccdc09da773c674a..4d9db06173d16f39cc4a2f23bb7e1fce161f7af5 100644 (file)
--- a/src/pty.c
+++ b/src/pty.c
@@ -252,31 +252,6 @@ mch_openpty(char **ttyn)
 }
 #endif
 
-#if defined(__sgi) && !defined(PTY_DONE)
-#define PTY_DONE
-    int
-mch_openpty(char **ttyn)
-{
-    int f;
-    char *name;
-    void (*sigcld) SIGPROTOARG;
-
-    /*
-     * SIGCHLD set to SIG_DFL for _getpty() because it may fork() and
-     * exec() /usr/adm/mkpts
-     */
-    sigcld = signal(SIGCHLD, SIG_DFL);
-    name = _getpty(&f, O_RDWR | O_NONBLOCK | O_EXTRA, 0600, 0);
-    signal(SIGCHLD, sigcld);
-
-    if (name == 0)
-       return -1;
-    initmaster(f);
-    *ttyn = name;
-    return f;
-}
-#endif
-
 #if defined(MIPS) && defined(HAVE_DEV_PTC) && !defined(PTY_DONE)
 #define PTY_DONE
     int
index 206548373a0139fe37595ae305004ee3156849b6..bfa29efda0559e42cc70b517844a6c3cb2528ee9 100644 (file)
@@ -707,6 +707,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    287,
 /**/
     286,
 /**/