summaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2023-07-10Update applet size estimatesDenys Vlasenko
2022-08-30*: style fixDenys Vlasenko
2022-08-18bc: hopefully fix bug 14956 (use-after-free)Denys Vlasenko
2022-02-06*: slap on a few ALIGN* where appropriateDenys Vlasenko
2021-10-10*: add NOINLINEs where code noticeably shrinksDenys Vlasenko
2021-06-15*: more --help tweaksDenys Vlasenko
2021-06-12bc: tweak overflow detection in a^bDenys Vlasenko
2021-06-12bc: code shrink: combine init() and copy() where we canDenys Vlasenko
2021-06-12bc: fix for mul overflow in scale calculation in a^bDenys Vlasenko
2021-04-14*: --help text tweaksDenys Vlasenko
2021-02-26bc: typo fix in commentDenys Vlasenko
2021-02-26dc: more docs in --helpDenys Vlasenko
2021-02-26dc: document what non-GNU commands doDenys Vlasenko
2021-02-26bc/dc: fix length(0) and length(0.000nnn) resultDenys Vlasenko
2021-02-26dc: correct --help textDenys Vlasenko
2021-02-03libbb: introduce and use fputs_stdoutRon Yorston
2021-01-06bc: code shrinkDenys Vlasenko
2021-01-04bc: ^C on input line exits (unlike ^C during calculations, which does not)Denys Vlasenko
2020-12-29bc,dc: make BC_LINE_LENGTH/DC_LINE_LENGTH more compatible with GNUDenys Vlasenko
2020-12-29bc: placate gcc (it thinks 's' can be uninitialized here)Denys Vlasenko
2020-12-21bc: do not allocate line editing state until neededDenys Vlasenko
2020-11-30decrease padding: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nillyDenys Vlasenko
2020-06-24bc: placate a "defined but not used" warningDenys Vlasenko
2019-11-23bc: fix comparison bug, closes 12336Denys Vlasenko
2019-09-12bc: Add 'U' suffix in UINT_MAX preprocessor checkKang-Che Sung
2019-09-05dc: Parse error & fix out of bounds read in xc_program_printStringBrian Foley
2019-09-05dc: Fix segfault when executing strings generated using asciifyBrian Foley
2019-09-05dc: execute shouldn't pop if stack head is not a stringBrian Foley
2019-07-02libbb: reduce the overhead of single parameter bb_error_msg() callsJames Byrne
2019-06-08bc: placate compiler warningsDenys Vlasenko
2019-01-25bc: implement pass-by-reference code from upstreamDenys Vlasenko
2019-01-09bc: code shrinkDenys Vlasenko
2019-01-08bc: remove "empty expression" check/message, parsing fails in these cases anywayDenys Vlasenko
2019-01-08bc: zbc_parse_expr_empty_ok() is unused except by zbc_parse_expr(), fold it inDenys Vlasenko
2019-01-08bc: disallow invalid syntax like "{ print 1 print 2 }"Denys Vlasenko
2019-01-07sleep: support "inf"Denys Vlasenko
2019-01-04bc: shorten "limits" outputDenys Vlasenko
2019-01-04bc: formatting changes, added a FIXME comment, no logic changesDenys Vlasenko
2019-01-04bc: support void functions (GNU compat)Denys Vlasenko
2019-01-04dc: fit returning of stringDenys Vlasenko
2019-01-04dc: fix '?'Denys Vlasenko
2019-01-04bc: eliminate struct BcInstPtr::results_len_before_call, it is redundantDenys Vlasenko
2019-01-04bc: add a palceholder comment for "void" returnDenys Vlasenko
2019-01-04bc: remove extra div/0 test, remove test for string function parameterDenys Vlasenko
2019-01-03bc: fix "...; return}" to work, disallow "return ()"Denys Vlasenko
2019-01-02bc: make error line number also size_t, like everything elseDenys Vlasenko
2019-01-02bc: speed up string printing, fix print ""Denys Vlasenko
2019-01-01bc: upstream fixesDenys Vlasenko
2019-01-01bc: in xc_read_line(), check ^C on NUL input bytes tooDenys Vlasenko
2018-12-31bc: remove superfluous assigmentDenys Vlasenko