Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-25 | Use fstat(3) instead of stat(3) as a matter of principle. We don't | Otto Moerbeek | |
like race conditions, even if the effects of these are void and empty. | |||
2006-03-24 | For those of us (including me) who can't type: show an error message if | Otto Moerbeek | |
the argument is a dir. ok tom@ commit #1000 in slighlty less than 1000 days of commit access :-) | |||
2006-03-07 | Typo. ok otto@ | Kjell Wooding | |
2006-01-19 | delint: check value against UINT_MAX before casting to u_int; while | Otto Moerbeek | |
there fix a buglet in bexp(): x * UINT_MAX only overflows if x > 0 | |||
2006-01-16 | delint; use size_t as stack size and ssize_t as stack pointer. | Otto Moerbeek | |
2006-01-15 | delint; index is a global symbol, so rename some locals to avoid | Otto Moerbeek | |
hiding | |||
2006-01-15 | delint wrt return values, including some missing BN return | Otto Moerbeek | |
values checks. | |||
2005-12-14 | Fix parsing of non-decimal fractions, which was giving bogus results. | Otto Moerbeek | |
Noted by Zvezdan Petkovic in PR 4940. | |||
2005-09-30 | deploy .An -nosplit; ok jmc | Jared Yanovich | |
2005-09-25 | Fix wrong normalization in compare. From andreas@ | Otto Moerbeek | |
2005-04-02 | - Fix raise for negative exponents (noted by naddy@) | Otto Moerbeek | |
- Fix wrong scale for mantissa < 1. | |||
2005-03-29 | Nicer wrapping. We used to mimick the old dc(1), which prints | Otto Moerbeek | |
...\<newline><newline> in some cases. ok deraadt@ | |||
2005-03-28 | Linefeed is part of a line according to POSIX, so take that into account | Otto Moerbeek | |
when computing line wraps. ok deraadt@ | |||
2005-03-28 | spacing | Theo de Raadt | |
2005-03-27 | Use inclusive bound check for line length, it is more clear. | Otto Moerbeek | |
2005-03-27 | Make call stack auto-growing, instead of fixed size. Enables much deeper | Otto Moerbeek | |
recursion. | |||
2005-03-15 | snprintf(buf, sizeof(buf), "%s", p) is silly, use strlcpy(). From Bruno Rohee. | Otto Moerbeek | |
2004-12-01 | use volatile sig_atomic_t for vars set in signal handlers. spotted by deraadt@ | Otto Moerbeek | |
2004-12-01 | Fix stop condition for sqrt. Due to the fact that we're doing Newton | Otto Moerbeek | |
iteration with intgeres, the stop condition is reached if x_n == x_n+1, or the difference is one, but only stop if that is hit a second time. Avoids looping with difference 1,-1,1,-1... Problem spotted by Paul de Weerd. Regress tested against 4.2BSD dc(1) and GNU dc(1). | |||
2004-10-18 | Implement command line evaluation of expressions by implementing the -e option. | Otto Moerbeek | |
ok weingart@ | |||
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |
2004-07-11 | No need to free() after a failing realloc(), we're bailing out anyway. | Otto Moerbeek | |
From Andrey Matveev. | |||
2004-02-11 | Make flag set in signal handler volatile | Otto Moerbeek | |
2004-02-01 | add paper.txt target; | Jason McIntyre | |
2004-01-20 | duplicated entry; evarts@amazon.com | Theo de Raadt | |
2004-01-13 | Add missing include. From espie@ | Otto Moerbeek | |
2003-12-19 | Do something sensible on ^C: unwind stack and be ready for new input. | Otto Moerbeek | |
2003-12-02 | Fix a max recursion off-by-one. | Otto Moerbeek | |
2003-12-01 | Allow for more registers using a 2 byte index. This feature is | Otto Moerbeek | |
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. ok jmc@ | |||
2003-12-01 | Allow for more registers using a 2 byte index. This feature is | Otto Moerbeek | |
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. | |||
2003-11-26 | Avoid a core dump on reading uninitiazed array locations. | Otto Moerbeek | |
2003-11-17 | A basic stack operation that is missing from the original dc (and | Otto Moerbeek | |
GNU dc as well): drop ('R'). | |||
2003-11-14 | Implement new boolean operations 'N' (not), 'G' (equals), '(' (less) | Otto Moerbeek | |
and '{' (less or equal). These operations push their result back to the stack. Used by soon to appear boolean operations in bc(1). man page tweaks and ok jmc@ | |||
2003-11-14 | The BN_add_word() bug has been squashed, so we don't need a workaround | Otto Moerbeek | |
any more. | |||
2003-11-09 | Flush after 'n' operator. | Otto Moerbeek | |
2003-11-06 | Describe non-portable extension # (comment), n (print w/o newline), | Otto Moerbeek | |
and a (byte to char). Tweaks and ok jmc@ | |||
2003-11-06 | Implement non-portable extension # (comment), n (print w/o newline), | Otto Moerbeek | |
and a (byte to char). | |||
2003-11-04 | Duh, a stack machine without swap; implement GNU compatible 'r' | Otto Moerbeek | |
(swap) operator. Prompted by Michael Knudsen <e at molioner dot dk> | |||
2003-10-23 | quote args to make them expand properly; | Jason McIntyre | |
2003-10-22 | Make J operator handle extended comparisons correctly. | Otto Moerbeek | |
2003-10-22 | Document new extended comparison operators. | Otto Moerbeek | |
ok jmc@ | |||
2003-10-22 | Implement extended comparison operators, to allow for an if ... else construct | Otto Moerbeek | |
in bc(1). | |||
2003-10-22 | Make ungetting a char read form a string behave the same as ungetting | Otto Moerbeek | |
a char from a stream. | |||
2003-10-20 | typos from Jared Yanovich; | Jason McIntyre | |
2003-10-19 | Reorder descriptions of operators alphabetically. | Otto Moerbeek | |
ok jmc@ | |||
2003-10-18 | - new sentence, new line | Jason McIntyre | |
- spelling | |||
2003-10-18 | err(1, "out of mem") -> err(1, NULL) | Otto Moerbeek | |
2003-10-18 | #ifdef debug code | Otto Moerbeek | |
2003-10-18 | Describe new J and M operators. Also some small cleanup. | Otto Moerbeek | |
2003-10-18 | o Implement new J (jump) and M (mark) operators. The J operator | Otto Moerbeek | |
pops n recursion levels and then skips to the first occurence of the M operator. These operators are used to implement the "continue" statement in bc(1). o Ifdef debug code. |