Module Name: src Committed By: kamil Date: Fri Jun 30 02:13:29 UTC 2017
Modified Files: src/bin/ksh: conf-end.h config.h Log Message: ksh: Drop support for systems without implementation of EINTR These systems weren't handled anyway. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/bin/ksh/conf-end.h cvs rdiff -u -r1.42 -r1.43 src/bin/ksh/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ksh/conf-end.h diff -u src/bin/ksh/conf-end.h:1.4 src/bin/ksh/conf-end.h:1.5 --- src/bin/ksh/conf-end.h:1.4 Thu Jun 22 23:59:28 2017 +++ src/bin/ksh/conf-end.h Fri Jun 30 02:13:29 2017 @@ -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)) Index: src/bin/ksh/config.h diff -u src/bin/ksh/config.h:1.42 src/bin/ksh/config.h:1.43 --- src/bin/ksh/config.h:1.42 Fri Jun 30 02:06:59 2017 +++ src/bin/ksh/config.h Fri Jun 30 02:13:29 2017 @@ -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 */