Commit Graph

3 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
phil 0215b1186b Import bc-1.06 2001-01-08 03:28:58 +00:00
simonb ceb1d3610a Import bc-1.05a 1999-01-16 00:21:25 +00:00