rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 784e5340c6b56ed2495eb5debe06ee43f9c2ddb3
parent d36dbd6441a3864f1a6a64baefe127fa729d0fb3
Author: tgoodwin <tgoodwin>
Date:   Thu,  5 Feb 1998 14:49:07 +0000

fix RESTART thinko

Diffstat:
Minput.c | 2+-
Msignal.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/input.c b/input.c @@ -88,7 +88,7 @@ static int stringgchar() { /* signal-safe readline wrapper */ #if READLINE -#ifndef HAVE_RESTARTABLE_SYSCALLS +#ifdef HAVE_RESTARTABLE_SYSCALLS static char *rc_readline(char *prompt) { char *r; interrupt_happened = FALSE; diff --git a/signal.c b/signal.c @@ -19,7 +19,7 @@ extern void catcher(int s) { } signal(s, catcher); interrupt_happened = TRUE; -#ifndef HAVE_RESTARTABLE_SYSCALLS +#ifdef HAVE_RESTARTABLE_SYSCALLS if (slow) longjmp(slowbuf.j, 1); #endif