summaryrefslogtreecommitdiff
path: root/usr.bin/dc/inout.c
AgeCommit message (Expand)Author
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-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-27Use inclusive bound check for line length, it is more clear.Otto Moerbeek
2005-03-15snprintf(buf, sizeof(buf), "%s", p) is silly, use strlcpy(). From Bruno Rohee.Otto Moerbeek
2003-11-14The BN_add_word() bug has been squashed, so we don't need a workaroundOtto Moerbeek
2003-10-22Make ungetting a char read form a string behave the same as ungettingOtto Moerbeek
2003-10-18err(1, "out of mem") -> err(1, NULL)Otto Moerbeek
2003-09-30Teach dc(1) how to read strings with unbalanced braces by introducingOtto Moerbeek
2003-09-28realloc cleanupOtto Moerbeek
2003-09-19blanksTheo de Raadt
2003-09-19spacesTheo de Raadt
2003-09-19A complete, BSD licensed rewrite of dc(1), using the bn(3) big number routines.Otto Moerbeek