Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh ksh: Drop support for systems without implementation...
details: https://anonhg.NetBSD.org/src/rev/37837b7c5721
branches: trunk
changeset: 354792:37837b7c5721
user: kamil <kamil%NetBSD.org@localhost>
date: Fri Jun 30 02:13:29 2017 +0000
description:
ksh: Drop support for systems without implementation of EINTR
These systems weren't handled anyway.
diffstat:
bin/ksh/conf-end.h | 16 ++--------------
bin/ksh/config.h | 5 +----
2 files changed, 3 insertions(+), 18 deletions(-)
diffs (53 lines):
diff -r 42cc90ae915d -r 37837b7c5721 bin/ksh/conf-end.h
--- a/bin/ksh/conf-end.h Fri Jun 30 02:06:59 2017 +0000
+++ b/bin/ksh/conf-end.h Fri Jun 30 02:13:29 2017 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: conf-end.h,v 1.4 2017/06/22 23:59:28 kamil Exp $ */
+/* $NetBSD: conf-end.h,v 1.5 2017/06/30 02:13:29 kamil Exp $ */
/*
* End of configuration stuff for PD ksh.
*
- * RCSid: $NetBSD: conf-end.h,v 1.4 2017/06/22 23:59:28 kamil Exp $
+ * RCSid: $NetBSD: conf-end.h,v 1.5 2017/06/30 02:13:29 kamil Exp $
*/
#if defined(EMACS) || defined(VI)
@@ -32,18 +32,6 @@
# undef JOBS /* if no JOB_SIGS, no job control support */
#endif
-/* pdksh assumes system calls return EINTR if a signal happened (this so
- * the signal handler doesn't have to longjmp()). I don't know if this
- * happens (or can be made to happen) with sigset() et. al. (the bsd41 signal
- * routines), so, the autoconf stuff checks what they do and defines
- * SIGNALS_DONT_INTERRUPT if signals don't interrupt read().
- * If SIGNALS_DONT_INTERRUPT isn't defined and your compiler chokes on this,
- * delete the hash in front of the error (and file a bug report).
- */
-#ifdef SIGNALS_DONT_INTERRUPT
- # error pdksh needs interruptable system calls.
-#endif /* SIGNALS_DONT_INTERRUPT */
-
#ifdef HAVE_GCC_FUNC_ATTR
# define GCC_FUNC_ATTR(x) __attribute__((x))
# define GCC_FUNC_ATTR2(x,y) __attribute__((x,y))
diff -r 42cc90ae915d -r 37837b7c5721 bin/ksh/config.h
--- a/bin/ksh/config.h Fri Jun 30 02:06:59 2017 +0000
+++ b/bin/ksh/config.h Fri Jun 30 02:13:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.42 2017/06/30 02:06:59 kamil Exp $ */
+/* $NetBSD: config.h,v 1.43 2017/06/30 02:13:29 kamil Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -45,9 +45,6 @@
/* Define to use the fake posix signal routines (sigact.[ch]) */
/* #undef USE_FAKE_SIGACT */
-/* Define if signals don't interrupt read() */
-/* #undef SIGNALS_DONT_INTERRUPT */
-
/* Define if you have bsd versions of the setpgrp() and getpgrp() routines */
/* #undef BSD_PGRP */
Home |
Main Index |
Thread Index |
Old Index