diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-10-12 15:36:57 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-10-12 15:36:57 +0000 |
commit | 7c19b9d5827b72b93a98fc28d21bfd9d6998d550 (patch) | |
tree | 3d531dc4504a7ed6ef4317827c43a8bceebf9bb4 /shells | |
parent | upgrade to 1.4.3 (diff) |
fix obscure signal-handling bugs
add readline support
PR: 43945
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=67868
Diffstat (limited to 'shells')
-rw-r--r-- | shells/es/Makefile | 3 | ||||
-rw-r--r-- | shells/es/files/patch-prim-ctl.c | 14 | ||||
-rw-r--r-- | shells/es/files/patch-signal.c | 11 |
3 files changed, 27 insertions, 1 deletions
diff --git a/shells/es/Makefile b/shells/es/Makefile index f27322ee342e..8bb6b6849e6b 100644 --- a/shells/es/Makefile +++ b/shells/es/Makefile @@ -7,7 +7,7 @@ PORTNAME= es PORTVERSION= 0.9.b1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= shells MASTER_SITES= ftp://ftp.sys.toronto.edu/pub/es/ DISTNAME= es-0.9-beta1 @@ -15,6 +15,7 @@ DISTNAME= es-0.9-beta1 MAINTAINER= ljrittle@acm.org GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-readline ALL_TARGET= es MAN1= es.1 diff --git a/shells/es/files/patch-prim-ctl.c b/shells/es/files/patch-prim-ctl.c new file mode 100644 index 000000000000..731e5df2de5e --- /dev/null +++ b/shells/es/files/patch-prim-ctl.c @@ -0,0 +1,14 @@ +--- prim-ctl.c.orig Sat Apr 12 04:54:34 1997 ++++ prim-ctl.c Sat Oct 12 23:33:16 2002 +@@ -77,8 +77,10 @@ + if (termeq(fromcatcher->term, "retry")) { + retry = TRUE; + unblocksignals(); +- } else ++ } else { ++ unblocksignals(); + throw(fromcatcher); ++ } + EndExceptionHandler + + EndExceptionHandler diff --git a/shells/es/files/patch-signal.c b/shells/es/files/patch-signal.c new file mode 100644 index 000000000000..dc50c5bcc9e9 --- /dev/null +++ b/shells/es/files/patch-signal.c @@ -0,0 +1,11 @@ +--- signal.c.orig Sat Apr 12 04:54:37 1997 ++++ signal.c Sat Oct 12 23:33:16 2002 +@@ -68,7 +68,7 @@ + + /* catcher -- catch (and defer) a signal from the kernel */ + static void catcher(int sig) { +-#if !SYSV_SIGNALS /* only do this for unreliable signals */ ++#if SYSV_SIGNALS /* only do this for unreliable signals */ + signal(sig, catcher); + #endif + if (hasforked) |