summary refs log tree commit diff
path: root/src/mystring.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@stack.nl>2010-03-10 13:29:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-03-10 13:29:11 +0800
commitea2cf705d50024b09e00f8f5bf9c666429bccfa5 (patch)
tree77497594bf8a9b1ac6218e0f3e073cfbfa77bab6 /src/mystring.c
parent[REDIR] Do not truncate file for FROMTO redirection (diff)
downloaddash-ea2cf705d50024b09e00f8f5bf9c666429bccfa5.tar.gz
dash-ea2cf705d50024b09e00f8f5bf9c666429bccfa5.zip
[ARITH] Fix logical or result value
Another change I'm making to the arith code is making || return 0 or 1
only, matching C, POSIX and other shells.

Apart from the compliance issue, it is also bad to expose implementation
details like the exact meaning of 'noeval' to scripts such that they may
come to depend on them.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/mystring.c')
0 files changed, 0 insertions, 0 deletions
Add new causal.agency with shotty shotsJune McEnroe 2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe 2019-07-12Support insert mode in shottyJune McEnroe 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe