diff options
| author | tgoodwin <tgoodwin> | 1998-02-23 15:45:05 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:05 +0100 |
| commit | ac8a8fcf0dad4e73b16a584d4ba3c02b89c1b86e (patch) | |
| tree | 56bf5bd2a1a0f52a66a588b33f0127e1fce0b646 /system-bsd.c | |
| parent | ed765fba692da152247018becb1f407a4ee64452 (diff) | |
incorporate Tom Culliton's patches for readline
Diffstat (limited to 'system-bsd.c')
| -rw-r--r-- | system-bsd.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/system-bsd.c b/system-bsd.c index a44e356..d492076 100644 --- a/system-bsd.c +++ b/system-bsd.c @@ -69,25 +69,3 @@ extern pid_t rc_wait(int *stat) { } return r; } - -/* signal-safe readline wrapper */ -#if READLINE -extern char *rc_readline(char *prompt) { - char *r; - - interrupt_happened = FALSE; - if (!sigsetjmp(slowbuf.j, 1)) { - slow = TRUE; - if (!interrupt_happened) - r = readline(prompt); - else - r = NULL; - } else - r = NULL; - slow = FALSE; - if (r == NULL) - errno = EINTR; - sigchk(); - return r; -} -#endif /* READLINE */ |