Denys Vlasenko
|
19a74a54de
shell/math: change ?: nesting code to not have 63 level nesting limitation
|
hai 1 ano |
Denys Vlasenko
|
6221832bc1
shell/math.h: update comments, rearrange struct members for smaller code
|
hai 1 ano |
Denys Vlasenko
|
e127985839
shell/math: fix ?: to not evaluate not-taken branches
|
hai 1 ano |
Denys Vlasenko
|
8b35f207bb
shell: move all definitions of strto_arith_t() together
|
%!s(int64=5) %!d(string=hai) anos |
Denys Vlasenko
|
9edd268bad
shell: implement optional "BASE#nnnn" numeric literals
|
%!s(int64=5) %!d(string=hai) anos |
Denys Vlasenko
|
9bf6780c28
shell: add TODO comment about BASE#nnn literals
|
%!s(int64=5) %!d(string=hai) anos |
Denys Vlasenko
|
0b8835861b
Make it possible to select "sh" and "bash" aliases without selecting ash or hush
|
%!s(int64=8) %!d(string=hai) anos |
Denys Vlasenko
|
1961aea305
move endofname() to libbb
|
%!s(int64=11) %!d(string=hai) anos |
Denys Vlasenko
|
bed7c81ea2
shell/math: deconvolute and explain ?: handling. Give better error message
|
%!s(int64=14) %!d(string=hai) anos |
Denys Vlasenko
|
063847d6bd
shell/math: return string error indicator, not integer
|
%!s(int64=14) %!d(string=hai) anos |
Denys Vlasenko
|
0eac8ff164
shell/math.c: stop using bss variable
|
%!s(int64=14) %!d(string=hai) anos |
Denys Vlasenko
|
06d44d7dfb
shell/math.c: rename arith_eval_hooks to arith_state, put error code into it
|
%!s(int64=14) %!d(string=hai) anos |
Denys Vlasenko
|
8b2f13d84d
shell: unify endofname() in hush and ash
|
%!s(int64=14) %!d(string=hai) anos |
Denys Vlasenko
|
03dad22f8a
hush: use ash's read builtin
|
%!s(int64=15) %!d(string=hai) anos |
Denys Vlasenko
|
71016baf55
printf: accept negative numbers for %x; sh: overflowed numbers are 0
|
%!s(int64=15) %!d(string=hai) anos |
Denis Vlasenko
|
f81e8dbc74
*: make "pragma GCC visibility push(hidden)" less ugly
|
%!s(int64=15) %!d(string=hai) anos |
Denis Vlasenko
|
cc8289dc04
shell/math: randomconfig fix
|
%!s(int64=15) %!d(string=hai) anos |
Mike Frysinger
|
98c52645c0
split math code out of ash and into a standalone library so we can use it in any shell (like hush!)
|
%!s(int64=15) %!d(string=hai) anos |