Commit Graph

23 Commits

Author SHA1 Message Date
hubertf
83f7cd41fd Prevent funny output when giving a directory name on the command line.
Before:
	$ dc ..
	miyu% dc ..
	dc: 02 unimplemented
	dc: 0 unimplemented
	dc: 0 unimplemented
	dc: input base must be a number between 2 and 16 (inclusive)
	dc: stack empty
	dc: stack empty
	dc: 'h' (0150) unimplemented
	dc: stack empty
	dc: 'u' (0165) unimplemented
	...
	** get heart attack suspecting major FS corruption **

After:
	$ dc ..
	Cannot use directory as input!
2003-10-13 21:52:40 +00:00
perry
570bad51bb bessel->Bessel (Igor Sobrado, PR misc/19700) 2003-03-31 02:43:38 +00:00
wiz
d4bb2d1451 specifying, not specifing. From Adrian Mrva. 2002-12-21 13:08:41 +00:00
wiz
574adf7715 environment, not environent. From Adrian Mrva. 2002-12-21 13:07:48 +00:00
phil
bb9bc62285 Fix problems in "for (;;)" and put back in quiet mode. 2001-02-19 21:07:04 +00:00
phil
6b94acce7c Spelling correction. Get long options working correctly. 2001-02-18 06:58:05 +00:00
phil
337ff4e96c New library string makes it necessary to make this variable (save_adr) static. 2001-02-11 03:25:11 +00:00
phil
e442b478b6 Sync with bc master sources. (post 1.06) 2001-01-11 01:56:21 +00:00
phil
223f8d5da0 Make quiet mode the standard on NetBSD! 2001-01-11 01:53:45 +00:00
itojun
c2cbc35d36 need string.h for mem* prototypes.
XXX not sure if we need to compile getopt{,1}.c in gnu/usr.bin/{bc,dc}...
2001-01-08 08:06:37 +00:00
phil
957f1a0095 Finish the import of bc-1.06. 2001-01-08 04:03:30 +00:00
phil
0215b1186b Import bc-1.06 2001-01-08 03:28:58 +00:00
wiz
58d067b119 Use NetBSD's getopt{,_long}. 2000-11-01 13:14:46 +00:00
msaitoh
0fcbe067c6 s/ the the / the / 1999-10-08 20:13:42 +00:00
phil
f3919f30c3 Improve the accuracy of raise, cosine, and bessel functions. 1999-10-04 18:26:35 +00:00
ross
059f13e362 The .IP tag must be one word. 1999-03-09 02:52:05 +00:00
tv
ab77e18330 Add Info directory entry. 1999-02-11 16:22:43 +00:00
tv
ae250d0e0a Round 2 of gnu/dist cleanup:
- remove ChangeLogs (still available on vendor FSF/CYGNUS branch, 1.1.1)
- remove many target-system config files unrelated to NetBSD targets
1999-02-04 04:25:21 +00:00
tv
39d9eb47d8 First round of gnu/dist cleanup - remove:
- files removed in binutils 2.8.1 or 2.9.1
- some testsuite stuff
- VMS, MS-DOS, and MPW Macintosh build environmanet (most of which are
  quite old and out of maintenance)
- generated GNU info files
- non-NetBSD-target makefile fragments
1999-02-03 18:50:07 +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
936563acd1 Apply previous NetBSD patch:
wouldn't compile due to clash with type of (undeclared) strlen
	on alpha.  Fixed by including string.h.
1999-01-16 05:25:06 +00:00
simonb
d8088da674 Apply previous NetBSD patch:
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...
Also GC rl_start.
1999-01-16 05:20:42 +00:00
simonb
ceb1d3610a Import bc-1.05a 1999-01-16 00:21:25 +00:00