Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | strdup -> bstrdup; from Michael W. Bombardieri | 2017-12-06 | 1 | -3/+2 | |
| | |||||
* | Pledge can be done earlier; from kshe | 2017-11-29 | 1 | -4/+6 | |
| | |||||
* | getopt(3) can be called twice (once for bc and once for dc), so reinit getopt | 2016-07-17 | 1 | -1/+3 | |
| | | | | ok deraadt@ | ||||
* | Surround pledge calls with blank lines. | 2015-11-03 | 1 | -1/+5 | |
| | |||||
* | Rather than invoking fork/execve of dc(1) on a pipe, compile in the dc(1) | 2015-10-10 | 1 | -5/+2 | |
| | | | | | | | | | | | code directly and use it as a subfunction. This refactoring allows use of pledge "stdio rpath proc tty" in the main bc(1) process before fork, pledge "stdio rpath tty" after fork, and fully reduced to "stdio" in the dc(1) child. This requires two recent to the kernel code (allowing sigsuspend(), and kill() self as pid 0). ok otto | ||||
* | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -7/+7 | |
| | |||||
* | Now that dc(1) no longer supports !command with popen(), we can start | 2015-10-03 | 1 | -1/+7 | |
| | | | | | off with tame "stdio rpath". Once the (optional) file is opened, a further drop down to tame "stdio" works. | ||||
* | Prefer setvbuf() to setlinebuf() for portability; ok deraadt@ | 2014-11-26 | 1 | -3/+3 | |
| | |||||
* | Use errc/warnc to simplify code. | 2014-05-20 | 1 | -5/+3 | |
| | | | | | | Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -5/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | sync the command usage with its synopsis | 2007-07-29 | 1 | -3/+4 | |
| | | | | ok jmc@ | ||||
* | Use fstat(3) instead of stat(3) as a matter of principle. We don't | 2006-03-25 | 1 | -7/+6 | |
| | | | | like race conditions, even if the effects of these are void and empty. | ||||
* | For those of us (including me) who can't type: show an error message if | 2006-03-24 | 1 | -2/+13 | |
| | | | | | | the argument is a dir. ok tom@ commit #1000 in slighlty less than 1000 days of commit access :-) | ||||
* | delint wrt return values, including some missing BN return | 2006-01-15 | 1 | -6/+6 | |
| | | | | values checks. | ||||
* | Implement command line evaluation of expressions by implementing the -e option. | 2004-10-18 | 1 | -10/+29 | |
| | | | | ok weingart@ | ||||
* | Add missing include. From espie@ | 2004-01-13 | 1 | -2/+3 | |
| | |||||
* | Allow for more registers using a 2 byte index. This feature is | 2003-12-01 | 1 | -11/+27 | |
| | | | | | | enabled by supplying the -x option on the command line. Allows long variable names in bc(1) (to appear soon). If no -x option is given, behave exactly as before. | ||||
* | blanks | 2003-09-19 | 1 | -3/+2 | |
| | |||||
* | spaces | 2003-09-19 | 1 | -3/+3 | |
| | |||||
* | A complete, BSD licensed rewrite of dc(1), using the bn(3) big number routines. | 2003-09-19 | 1 | -0/+71 | |
ok toby@ deraadt@ |