summaryrefslogtreecommitdiff
path: root/usr.bin/bc
AgeCommit message (Expand)Author
2015-09-05Avoid unintended problems with operator precedence when doing anJonathan Gray
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-10-14obvious use of reallocarray()Theo de Raadt
2014-10-08reallocarray() to detect integer overflow; ok dougTheo de Raadt
2014-04-17whitespaceOtto Moerbeek
2014-04-17rm redundant declaration; from Xin LiOtto Moerbeek
2014-01-14update references to posix-2008, and point STANDARDS to some of the extensionJason McIntyre
2013-11-20unsigned char casts for ctype.h macros, when dealing with theTheo de Raadt
2013-11-12simpler prototype repairsTheo de Raadt
2013-09-19separate termios.h out from scan.l, both have an ECHO define. Noted byOtto Moerbeek
2012-03-14repair function when used with different scales; from AIDA Shinra, thanks!Otto Moerbeek
2012-03-08allow editline in -d mode; from AIDA ShinraOtto Moerbeek
2011-10-06Better error message on unexpected newline; noted by and ok deraadt@Otto Moerbeek
2011-08-30in column lists, enforce the following ordering:Jason McIntyre
2011-08-03save/restore tty state on SIGTSTP/SIGCONT. ok deraadt@ nicm@Otto Moerbeek
2011-07-08el_set with EL_BIND needs sentinel NULL. with help from nicmTed Unangst
2011-06-03protect errno from damage in the signal handlerTheo de Raadt
2011-06-03Make ^D behave: dont't echo it and make it work if the cursor is atOtto Moerbeek
2011-06-01- avoid YY_FLUSH_BUFFER: it is not signal safe and it does not work as intendedOtto Moerbeek
2011-03-07no Pp before/after Sh;Jason McIntyre
2011-03-07add editline support; from freebsd. ok deraadt@Otto Moerbeek
2010-10-18remove references to now removed usd/psd/smm docs;Jason McIntyre
2010-10-17Stop installing me(1) and ms(1) source code.Ingo Schwarze
2010-01-02The .Os macro is not optional. Even with groff(1),Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-07-16fix word order;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2008-12-15turns out gcc is not smart enough to avoid the local array in constOtto Moerbeek
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
2007-02-03Save and restore not only scale, but ibase as well. Problem noted myOtto Moerbeek
2007-01-29whitespace, no change in code produced by bc -dlOtto Moerbeek
2006-06-30CLEANFILES no longer needed since this is now done by bsd.*.mkOtto Moerbeek
2006-05-27SRCS should refer to the .l and .c files; spotted by naddyTheo de Raadt
2006-05-18Avoid segv when a syntax error occurs while reading from command line.Otto Moerbeek
2006-04-20unused variableTheo de Raadt
2006-03-31Better useage string. From Alexey Dobriyan.Otto Moerbeek
2006-03-18Forgotten part in previous commit; having multiple source trees is aOtto Moerbeek
2006-03-18Interchange roles: bc becomes parent, dc child. This leads to sanerOtto Moerbeek
2006-01-24fclose file stream before opening a new one.Otto Moerbeek
2005-12-03ARGSUSED signal handlerTheo de Raadt
2005-10-29do not put a .Pp before a display;Jason McIntyre
2005-09-30deploy .An -nosplit; ok jmcJared Yanovich
2005-09-18Do not check pointer for NULL, but check for return value of asprintf(),Otto Moerbeek
2005-05-23Fix some pedantic signed vs unsigned warnings. From Michael Knudsen, 10xOtto Moerbeek
2005-04-13Always use lex in interactive mode. Makes bc running as a co-processOtto Moerbeek
2005-03-28mark potential signal race so we fix it later, ok ottoTheo de Raadt
2005-03-17Fix eof without newline handling. spotted by and ok deraadt@Otto Moerbeek
2004-12-02Fix signal races for isatty(3) (calls ioctl(2)) and printf(3);Otto Moerbeek
2004-10-19Implement -e expression, for command line expression evaluation.Otto Moerbeek