summaryrefslogtreecommitdiff
path: root/usr.bin/dc
AgeCommit message (Expand)Author
2006-11-26repair missing DPADD requestsTheo de Raadt
2006-03-25Use fstat(3) instead of stat(3) as a matter of principle. We don'tOtto Moerbeek
2006-03-24For those of us (including me) who can't type: show an error message ifOtto Moerbeek
2006-03-07Typo. ok otto@Kjell Wooding
2006-01-19delint: check value against UINT_MAX before casting to u_int; whileOtto Moerbeek
2006-01-16delint; use size_t as stack size and ssize_t as stack pointer.Otto Moerbeek
2006-01-15delint; index is a global symbol, so rename some locals to avoidOtto Moerbeek
2006-01-15delint wrt return values, including some missing BN returnOtto Moerbeek
2005-12-14Fix parsing of non-decimal fractions, which was giving bogus results.Otto Moerbeek
2005-09-30deploy .An -nosplit; ok jmcJared Yanovich
2005-09-25Fix wrong normalization in compare. From andreas@Otto Moerbeek
2005-04-02- Fix raise for negative exponents (noted by naddy@)Otto Moerbeek
2005-03-29Nicer wrapping. We used to mimick the old dc(1), which printsOtto Moerbeek
2005-03-28Linefeed is part of a line according to POSIX, so take that into accountOtto Moerbeek
2005-03-28spacingTheo de Raadt
2005-03-27Use inclusive bound check for line length, it is more clear.Otto Moerbeek
2005-03-27Make call stack auto-growing, instead of fixed size. Enables much deeperOtto Moerbeek
2005-03-15snprintf(buf, sizeof(buf), "%s", p) is silly, use strlcpy(). From Bruno Rohee.Otto Moerbeek
2004-12-01use volatile sig_atomic_t for vars set in signal handlers. spotted by deraadt@Otto Moerbeek
2004-12-01Fix stop condition for sqrt. Due to the fact that we're doing NewtonOtto Moerbeek
2004-10-18Implement command line evaluation of expressions by implementing the -e option.Otto Moerbeek
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-07-11No need to free() after a failing realloc(), we're bailing out anyway.Otto Moerbeek
2004-02-11Make flag set in signal handler volatileOtto Moerbeek
2004-02-01add paper.txt target;Jason McIntyre
2004-01-20duplicated entry; evarts@amazon.comTheo de Raadt
2004-01-13Add missing include. From espie@Otto Moerbeek
2003-12-19Do something sensible on ^C: unwind stack and be ready for new input.Otto Moerbeek
2003-12-02Fix a max recursion off-by-one.Otto Moerbeek
2003-12-01Allow for more registers using a 2 byte index. This feature isOtto Moerbeek
2003-12-01Allow for more registers using a 2 byte index. This feature isOtto Moerbeek
2003-11-26Avoid a core dump on reading uninitiazed array locations.Otto Moerbeek
2003-11-17A basic stack operation that is missing from the original dc (andOtto Moerbeek
2003-11-14Implement new boolean operations 'N' (not), 'G' (equals), '(' (less)Otto Moerbeek
2003-11-14The BN_add_word() bug has been squashed, so we don't need a workaroundOtto Moerbeek
2003-11-09Flush after 'n' operator.Otto Moerbeek
2003-11-06Describe non-portable extension # (comment), n (print w/o newline),Otto Moerbeek
2003-11-06Implement non-portable extension # (comment), n (print w/o newline),Otto Moerbeek
2003-11-04Duh, a stack machine without swap; implement GNU compatible 'r'Otto Moerbeek
2003-10-23quote args to make them expand properly;Jason McIntyre
2003-10-22Make J operator handle extended comparisons correctly.Otto Moerbeek
2003-10-22Document new extended comparison operators.Otto Moerbeek
2003-10-22Implement extended comparison operators, to allow for an if ... else constructOtto Moerbeek
2003-10-22Make ungetting a char read form a string behave the same as ungettingOtto Moerbeek
2003-10-20typos from Jared Yanovich;Jason McIntyre
2003-10-19Reorder descriptions of operators alphabetically.Otto Moerbeek
2003-10-18- new sentence, new lineJason McIntyre
2003-10-18err(1, "out of mem") -> err(1, NULL)Otto Moerbeek
2003-10-18#ifdef debug codeOtto Moerbeek
2003-10-18Describe new J and M operators. Also some small cleanup.Otto Moerbeek