rc

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

commit 8bf55d806a101b05ed775f4f7994789738efe2db
parent 37746b3d9d557f8c603715702d0cf38b4464d7b3
Author: tgoodwin <tgoodwin>
Date:   Mon, 16 Feb 1998 11:27:17 +0000

use `#if' for consistency

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 -#ifdef HAVE_RESTARTABLE_SYSCALLS +#if 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; -#ifdef HAVE_RESTARTABLE_SYSCALLS +#if HAVE_RESTARTABLE_SYSCALLS if (slow) siglongjmp(slowbuf.j, 1); #endif