| Summary: | bc overflour | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Vladimir Tchoukharev <chu> |
| Component: | gnu | Assignee: | Nick Hibma <n_hibma> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Vladimir Tchoukharev
1999-07-07 17:40:01 UTC
This problem is reproducible on CURRENT from last week. Nick -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy Could you try the following patch? --- /usr/src/contrib/bc/bc/scan.l.orig Sat Jul 24 20:19:04 1999 +++ /usr/src/contrib/bc/bc/scan.l Sat Jul 24 20:17:02 1999 @@ -60,7 +60,7 @@ /* Variables to help interface readline with bc. */ static char *rl_line = (char *)NULL; static char *rl_start = (char *)NULL; -static char rl_len = 0; +static int rl_len = 0; /* Definitions for readline access. */ extern FILE *rl_instream; And let me know whether that works for you? For the record, this patch has also been sent off to Philip A. Nelson <phil@cs.wwu.edu>, the maintainer of bc. Cheers, Nick -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy State Changed From-To: open->feedback Bug fix posted, maybe he is willing to try it. Responsible Changed From-To: freebsd-bugs->n_hibma Remind me to apply the patch and close it. State Changed From-To: feedback->closed Committed. Thanks! |