summaryrefslogtreecommitdiff
path: root/usr.bin/bc
AgeCommit message (Collapse)Author
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
notes listed in DESCRIPTION, for completeness sake; ok otto sobrado
2013-11-20unsigned char casts for ctype.h macros, when dealing with theTheo de Raadt
yytext buffer ok benno
2013-11-12simpler prototype repairsTheo de Raadt
2013-09-19separate termios.h out from scan.l, both have an ECHO define. Noted byOtto Moerbeek
Joris Giovannangeli.
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
.Bl -column header1 header2 ... <Bl flags> mixing things up confuses mandoc, and adding flags in can screw up the list. this hopefully just makes things a bit safer (and more consistent). (one more bit of work left and all column lists should format how we want)
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
ok otto
2011-06-03Make ^D behave: dont't echo it and make it work if the cursor is atOtto Moerbeek
start of line after a ^C; ok okan@ deraadt@
2011-06-01- avoid YY_FLUSH_BUFFER: it is not signal safe and it does not work as intendedOtto Moerbeek
after the introduction of editline - honour editline edit off mode
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
We will soon get rid of groff in base, so there is no longer any way to use these files with base. No opposition on tech@.
2010-01-02The .Os macro is not optional. Even with groff(1),Ingo Schwarze
forgetting it lets the footer line look incomplete and unbalanced. Markup error found by mandoc(1), also required to fix the mandoc build. ok jmc@ sobrado@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2009-07-16fix word order;Jason McIntyre
from gb, documentation/6191
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-12-15turns out gcc is not smart enough to avoid the local array in constOtto Moerbeek
char msg[] = "string literal" if you do not declare it static. shaves off a few bytes
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-02-03Save and restore not only scale, but ibase as well. Problem noted myOtto Moerbeek
Karel Kulhavy.
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
found by jmc@
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
dangerous hobbby.
2006-03-18Interchange roles: bc becomes parent, dc child. This leads to sanerOtto Moerbeek
tty handling (try bc | grep foo followed by ^C, as noted by deraadt@). To make it all work, bc now waits for dc to exit after giving it a quit command. ok deraadt@ jaredy@
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
like the man page says.
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
behave. Very, very little performance loss. Spotted by and ok fschg@
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
save/restore errno. YY_FLUSH_BUFFER might still be a problem. Spotted by and ok deraadt@
2004-10-19Implement -e expression, for command line expression evaluation.Otto Moerbeek
ok deraadt@
2004-08-25typos from -f (PR #3907);Jason McIntyre
2004-07-09typo from rohee@Jason McIntyre
2004-04-21point people to usd doc;Jason McIntyre
ok otto@
2004-04-06- add margins when formatting w/ -TasciiJason McIntyre
- remove some macros that were causing formatting errors