ksh: Drop support for systems without implementation of EINTR
These systems weren't handled anyway.
This commit is contained in:
parent
51ebc97c9d
commit
306d025987
@ -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))
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user