Commit Graph

42 Commits

Author SHA1 Message Date
phil def396420d Remove getopt{,1}.c from sources. Use NetBSD's version. 2001-01-11 01:48:00 +00:00
phil e6550aba7b Update for bc-1.06. 2001-01-08 04:53:59 +00:00
wiz 58d067b119 Use NetBSD's getopt{,_long}. 2000-11-01 13:14:46 +00:00
tv 4d09a335ff Clean up. 1999-02-11 16:13:01 +00:00
simonb 67be258b1b Don't use the distributed yacc'd and lex'd files; build our own with
our own tools from the original .y/.l files.
1999-01-18 04:12:15 +00:00
simonb 876bcd2228 Update bc to 1.05a and dc to 1.2, which source in src/gnu/dist/bc. 1999-01-16 05:57:47 +00:00
christos f2243822f3 PR/5793: Fix core dump caused by input strings more than 127 characters
in length when readline is used (rl_len was a *char*!!!). Undo disabling
of readline (this fix was like ``finger hurts, cut hand'') I guess PR/5793
is already closed...
1998-09-11 14:20:30 +00:00
frueauf e09f07e643 Don't define READLINE, have a look at pr 5793 for a testcase where this
causes bc to coredump.
1998-09-11 10:14:30 +00:00
tv 482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
christos a6e206b6f7 Oh, my god... bc with readline support does not work at all:
echo 10 / 3 | bc
prints
	10 / 3\r\n\r3\r\n
with a stock readline... Our readline does not echo when it does not
have a tty, so it printed:
	\r3\n
I removed printing the printing of \r for now...
1997-12-20 19:19:07 +00:00
lukem da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
christos 34fd941cb9 PR/4301: Jaromir Dolecek: Enable readline, now that we emulate it. 1997-10-23 22:25:06 +00:00
phil 6a1d6212ae Fix a bug in bc_sqrt for numbers between 0 and 1. 1997-05-22 15:21:47 +00:00
mycroft c4acdea0ab Make sure we get all the .h files we need so this compiles. 1997-05-18 11:27:06 +00:00
mjacob af80734488 wouldn't compile due to clash with type of (undeclared) strlen on alpha.
Fixed by including string.h.
1997-05-18 08:38:33 +00:00
phil ead96d53e2 Revert scan.l back to be identical to FSF master source. Add rules
to Makefile to do proper build with original FSF source.
1997-05-14 03:58:13 +00:00
veego 0e7e42850d Add CLEANFILES for y.tab.h 1997-05-11 15:18:13 +00:00
mycroft ee658e7871 Use DPSRCS.
Use the default build method for the grammar.
1997-05-09 14:07:03 +00:00
mycroft cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
phil a50b62c078 Fix for make depend from Enami Tsugutomo (PR 3556). 1997-04-29 23:30:15 +00:00
phil f18cfec654 Cleanup for import of bc-1.04. Removing many files not needed for bc-1.04.
Cleanup here due to a major reorganization of fsf tree and the desire
to keep the NetBSD tree as clean as possible.
1997-04-29 00:28:49 +00:00
phil 55eaef264f Removing the Test subdirectory as part of updating to bc-1.04. 1997-04-29 00:21:04 +00:00
phil 117ece29e9 Updating to version 1.04. 1997-04-29 00:11:31 +00:00
lukem 5d37ffa7eb fix the the typos 1996-11-10 23:58:22 +00:00
phil 55fcc2e900 Move the free of t_num to the right place. 1996-07-24 23:23:23 +00:00
phil 18d3662b80 Bring 1.2 fixes to HEAD. 1996-06-07 19:42:49 +00:00
phil b63cd8a07d Fix a memory leak in writing numbers. 1995-10-10 00:22:54 +00:00
phil 1e81068b29 Updating to 1.03 with RCS added to most .[chyl] files 1994-12-02 00:43:14 +00:00
mycroft f92d1d5f44 Clean up deleted files. 1994-12-01 04:33:51 +00:00
phil 5f1de942a7 Import of GNU bc-1.03 1994-12-01 04:23:53 +00:00
phil 48d3b7a6e8 Adding the correct flex flags for an interactive scanner. 1994-03-11 20:25:06 +00:00
mycroft a7427498d2 Clean up deleted files. 1993-12-03 19:10:16 +00:00
jtc 1f930c7166 With the new flex, we don't need this hack any more. 1993-12-03 19:10:08 +00:00
jtc f51f0a515d All programs that use lex must link with -ll. 1993-12-02 18:18:02 +00:00
cgd d6ff5db170 converted to use gnu malloc, and depend on it correctly 1993-10-07 07:23:44 +00:00
mycroft 210cab4541 Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:18:41 +00:00
cgd 873914b763 version number -- 1.02 1993-07-18 11:33:08 +00:00
cgd cfa46708df have compile use the scan.c, y.tab.h, and bc.c files as distributed,
rather than lex/yaccing them ourselves.  still don't know why these don't
get flexed right...
1993-05-04 07:49:22 +00:00
mycroft 91ab285e99 Fix typo. (troff makes me ill.) 1993-04-26 19:59:33 +00:00
cgd baa77a64b9 fixed makefile bogons 1993-04-10 16:09:10 +00:00
cgd f625cfdcdf gnu bc. necessary to compile the distribution 1993-04-10 15:54:16 +00:00
cgd 439d2fb46c gnu bc. necessary to compile the distribution 1993-04-10 15:51:24 +00:00