Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ksh Remove sco unix 3.2v4.1 support (from 1992) from ksh(1)



details:   https://anonhg.NetBSD.org/src/rev/605202ba6284
branches:  trunk
changeset: 824892:605202ba6284
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Jun 22 13:34:48 2017 +0000

description:
Remove sco unix 3.2v4.1 support (from 1992) from ksh(1)

OK by <kre>

diffstat:

 bin/ksh/config.h |  5 +----
 bin/ksh/edit.c   |  8 ++------
 2 files changed, 3 insertions(+), 10 deletions(-)

diffs (48 lines):

diff -r 9b3a6de54c71 -r 605202ba6284 bin/ksh/config.h
--- a/bin/ksh/config.h  Thu Jun 22 13:34:13 2017 +0000
+++ b/bin/ksh/config.h  Thu Jun 22 13:34:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: config.h,v 1.9 2017/06/22 13:33:39 kamil Exp $ */
+/*     $NetBSD: config.h,v 1.10 2017/06/22 13:34:48 kamil Exp $        */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
@@ -178,9 +178,6 @@
 /* Define if the pgrp of setpgrp() can't be the pid of a zombie process */
 /* #undef NEED_PGRP_SYNC */
 
-/* Define if you arg running SCO unix */
-/* #undef OS_SCO */
-
 /* Define if you arg running ISC unix */
 /* #undef OS_ISC */
 
diff -r 9b3a6de54c71 -r 605202ba6284 bin/ksh/edit.c
--- a/bin/ksh/edit.c    Thu Jun 22 13:34:13 2017 +0000
+++ b/bin/ksh/edit.c    Thu Jun 22 13:34:48 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: edit.c,v 1.27 2017/06/22 13:33:39 kamil Exp $  */
+/*     $NetBSD: edit.c,v 1.28 2017/06/22 13:34:48 kamil Exp $  */
 
 /*
  * Command line editing - common code
@@ -7,7 +7,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: edit.c,v 1.27 2017/06/22 13:33:39 kamil Exp $");
+__RCSID("$NetBSD: edit.c,v 1.28 2017/06/22 13:34:48 kamil Exp $");
 #endif
 
 
@@ -19,10 +19,6 @@
 #define EXTERN
 #include "edit.h"
 #undef EXTERN
-#ifdef OS_SCO  /* SCO Unix 3.2v4.1 */
-# include <sys/stream.h>       /* needed for <sys/ptem.h> */
-# include <sys/ptem.h>         /* needed for struct winsize */
-#endif /* OS_SCO */
 #include <sys/ioctl.h>
 #include <ctype.h>
 #include "ksh_stat.h"



Home | Main Index | Thread Index | Old Index