Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
e627ac95bef4d61c2d264fc87d767cb7a948c38f
/
shell
/
ash.c
e627ac9
ash: [VAR] Initialise OPTIND after importing environment
by Denys Vlasenko
· 8 years ago
6a0710e
ash: [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd
by Denys Vlasenko
· 8 years ago
50e6d42
ash: Avoid overflow for very long variable name
by Denys Vlasenko
· 8 years ago
b6838b5
ash: [VAR] Sanitise environment variable names on entry
by Denys Vlasenko
· 8 years ago
a2d121c
ash: [EVAL] Avoid using undefined handler
by Denys Vlasenko
· 8 years ago
53d6e03
ash: remove dead stores and unused variables
by Denys Vlasenko
· 8 years ago
60ca834
ash: [MEMALLOC] Add pushstackmark
by Denys Vlasenko
· 8 years ago
459293b
ash: fix arithmetic closing )) split by backslash-newline
by Denys Vlasenko
· 8 years ago
73c3e07
ash: [PARSER] Handle backslash newlines properly after dollar sign
by Denys Vlasenko
· 8 years ago
3b4d04b
ash: input: Allow two consecutive calls to pungetc
by Denys Vlasenko
· 8 years ago
46a45ce
ash: jobs: Don't attempt to access job table for job %0
by Denys Vlasenko
· 8 years ago
928e2a7
ash: [EVAL] Make eval with empty arguments return 0
by Denys Vlasenko
· 8 years ago
8e2bc47
ash: [EVAL] Fix use-after-free in dotrap/evalstring
by Denys Vlasenko
· 8 years ago
7ee7c6f
ash: Remove unused EV_BACKCMD flag
by Denys Vlasenko
· 8 years ago
eb17b6f
ash: eval: Return status in eval functions
by Denys Vlasenko
· 8 years ago
557482c
ash: in heredoc code, fix access past the end of allocated memory. Closes 9276
by Denys Vlasenko
· 8 years ago
13f2091
ash: fix handling of NULs in $'abc\000def\x00asd'. Closes 9286
by Denys Vlasenko
· 8 years ago
b3f29b4
ash: use glob() from libc
by Denys Vlasenko
· 8 years ago
244fdd4
ash: fix handling of bashism $'xxx' with high-bit chars. Closes 9236
by Denys Vlasenko
· 8 years ago
204c7fb
ash: exit after subshell error when errexit option is set
by Rostislav Skudnov
· 8 years ago
7373759
fix "aloc" -> "alloc" typos
by Denys Vlasenko
· 8 years ago
7bc3d39
ash: add a FIXME for bug 9246
by Denys Vlasenko
· 8 years ago
ef15970
*: placate some compile warnings on OSX
by Denys Vlasenko
· 8 years ago
f8ddbe1
ash: fix handling of ${VAR: -2}
by Denys Vlasenko
· 8 years ago
e5814a5
ash: do not leave SIGQUIT ignored on "exec CMD"
by Denys Vlasenko
· 8 years ago
3e134eb
*: slap on a few ALIGN1/2s where appropriate
by Denys Vlasenko
· 9 years ago
84ba50c
ash: bash-compatible $'...' shouldn't expand in double quotes
by Ron Yorston
· 9 years ago
2b91958
Rewrite iteration through applet names to save a few bytes
by Ron Yorston
· 9 years ago
3e3bfb8
ash: fix corruption of ${#var} if $var contains UTF-8 characters
by Ron Yorston
· 9 years ago
40eea69
Fix compiling with musl's utmp stubs
by Kylie McClain
· 9 years ago
c2a2625
ash: suppress a compilation warning
by Cristian Ionescu-Idbohrn
· 9 years ago
95ebcf7
ash: add support for bash 'function' keyword
by Ron Yorston
· 9 years ago
95650a8
ash: allow popredir to be called if the stack is empty
by Ron Yorston
· 9 years ago
8c55dc7
ash: fix EXEXEC status clobbering
by Ron Yorston
· 9 years ago
c0e0076
ash: simplify EOF/newline handling in list parser
by Ron Yorston
· 9 years ago
6bd2fab
Revert "ash: fix a SEGV case in an invalid heredoc" xxx
by Ron Yorston
· 9 years ago
713f07d
ash: fix error during recursive processing of here document
by Ron Yorston
· 9 years ago
ef2386b
ash: only allow local variables in functions
by Ron Yorston
· 9 years ago
3f22111
ash: respect -p flag when command builtin is run with -v/-V
by Ron Yorston
· 9 years ago
e2f32c0
ash: fix command -- crash
by Denys Vlasenko
· 9 years ago
383b885
ash: save a few bytes in code to parse case statements
by Ron Yorston
· 9 years ago
ab80e01
ash: allow newline after variable name in for loop
by Ron Yorston
· 9 years ago
00da72b
tidy up strtok use
by Denys Vlasenko
· 9 years ago
005c492
ash: shrink umask code
by Denys Vlasenko
· 9 years ago
4cd99e7
ash: "you have mail" should ignore first change in mtime
by Denys Vlasenko
· 9 years ago
2384162
ash: simplify "you have mail" code
by Denys Vlasenko
· 9 years ago
4700fb5
ash: make dowait() a bit more readable. Logic is unchanged
by Denys Vlasenko
· 9 years ago
d60752f
build system: -fno-builtin-printf
by Denys Vlasenko
· 9 years ago
ec046f7
ash: use a more typical form of "print four octal digits" format
by Denys Vlasenko
· 9 years ago
5711a2a
libbb: more compact API for bb_parse_mode()
by Denys Vlasenko
· 9 years ago
c1e2e00
ash: shrink "umask -S" code
by Denys Vlasenko
· 9 years ago
6283f98
hush: fix umask: umask(022) was setting umask(755)
by Denys Vlasenko
· 9 years ago
9c54100
ash: a bunch of trivial simplifications
by Denys Vlasenko
· 9 years ago
ca25af9
ash: fix slash treatment in expmeta
by Ron Yorston
· 9 years ago
d840c5d
libbb: add a function to make a copy of a region of memory
by Ron Yorston
· 9 years ago
072fc60
ash: use alloca to get rid of setjmp
by Ron Yorston
· 9 years ago
0e056f7
ash: remove parsebackquote flag
by Ron Yorston
· 9 years ago
97f2f7c
Removes stray empty line from code
by Maninder Singh
· 9 years ago
417622c
ash: fix breakage of ${v/pat/str}
by Ron Yorston
· 10 years ago
549deab
ash: move parse-time quote flag detection to run-time
by Ron Yorston
· 10 years ago
ad88bde
ash: remove arithmetic expansion collapsing at parse time
by Ron Yorston
· 10 years ago
7e4ed26
ash: remove superfluous code in arithmetic mode
by Ron Yorston
· 10 years ago
3df47f9
ash: do not expand tilde in parameter expansion within quotes
by Ron Yorston
· 10 years ago
eb6b48b
ash: perform tilde expansion in all parameter expansion words
by Ron Yorston
· 10 years ago
d68d1fb
ash: code shrink around varvalue
by Ron Yorston
· 10 years ago
e0a4e10
ash: explain what "local -" does
by Denys Vlasenko
· 10 years ago
1285aa6
ash: consider "local -" case while iterating over local variables in mklocal.
by Eugene Rudoy
· 10 years ago
61d6ae2
libbb: remove unnecessary argument to nonblock_immune_read
by Ron Yorston
· 10 years ago
0a0acb5
ash: fix handling of duplicate "local"
by Denys Vlasenko
· 10 years ago
75a7626
ash: do not split the result of tilde expansion
by Ron Yorston
· 10 years ago
7e66102
ash: fix a SEGV case in an invalid heredoc
by Denys Vlasenko
· 10 years ago
c76236f
ash: fix a SEGV in ${#1}
by Denys Vlasenko
· 10 years ago
08a5dab
ash: fix handling of negative start value in ${v:start:len}
by Denys Vlasenko
· 10 years ago
07f7ea7
ash: fix off-by-one in "jobs %4" handling. closes 7310
by Denys Vlasenko
· 10 years ago
2ec3496
ash: factor out ASH_HELP config option
by Denys Vlasenko
· 10 years ago
e9ab07c
ash: make ${#var} unicode-aware
by Denys Vlasenko
· 10 years ago
841f833
ash,hush: run reinit_unicode() only if makes sense
by Denys Vlasenko
· 10 years ago
5d2e409
libbb: use a wrapper around sysconf(_SC_CLK_TCK) to save a few bytes
by Bartosz Golaszewski
· 10 years ago
3fa97af
ash,hush: set $HOSTNAME is bash compat. Closes 7028
by Denys Vlasenko
· 11 years ago
109ee5d
ash: make "locak VAR" unset VAR (bash does that)
by Denys Vlasenko
· 11 years ago
5680e98
ash: in bash compat mode, always export $SHLVL
by Denys Vlasenko
· 11 years ago
80f8cdf
ash: Set SHLVL in ASH_BASH_COMPAT
by Bernhard Reutner-Fischer
· 11 years ago
200c1c4
ash: Use setvar2 some more
by Bernhard Reutner-Fischer
· 11 years ago
2301d12
unicode: check $LC_CTYPE too to detect Unicode mode
by Denys Vlasenko
· 11 years ago
3e7ecb1
unicode: check $LC_ALL to detect Unicode mode, not only $LANG
by Denys Vlasenko
· 11 years ago
d96ffda
ash,hush: history builtin
by Flemming Madsen
· 12 years ago
091f831
ash: add comment about failures in source builtin. No code changes.
by Denys Vlasenko
· 12 years ago
4ef1439
ash: read $HOME/.profile instead of $(pwd)/.profile
by Stefan Hellermann
· 12 years ago
aeb717a
ash: move code to allow setting $HOME in /etc/profile
by Stefan Hellermann
· 12 years ago
1961aea
move endofname() to libbb
by Denys Vlasenko
· 12 years ago
7c4b13e
ash: revert wrong "fix" for an apparent memory leak. Closes 5822
by Denys Vlasenko
· 12 years ago
60cb48c
whitespace cleanup. no code changes
by Denys Vlasenko
· 12 years ago
4ba6c5d
ash: fix a memory leak
by Jon Tollefson
· 12 years ago
d527588
ash: implement export -n
by Denys Vlasenko
· 12 years ago
0b4980c
ash: trivial fixes for compile failures
by Denys Vlasenko
· 12 years ago
9e71e3c
ash: fix "read -s" + ^C. Closes 5504
by Denys Vlasenko
· 12 years ago
566a313
ash: add a comment about VEXPORT
by Denys Vlasenko
· 12 years ago
f451b2c
ash: fix a bug in >${varexp} handling. Closes 5282
by Denys Vlasenko
· 12 years ago
83f103b
ash: in standalone mode, search in $PATH if /proc/self/exe doesn't exist
by Denys Vlasenko
· 13 years ago
cda6ea9
ash: document bash's exit code too. No code changes
by Denys Vlasenko
· 13 years ago
Next »