repo.or.cz
/
dash.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
input: Clear unget on RESET
2021-01-13
Herbert
X
u
inp
u
t
:
Clear unget on RE
S
ET
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-12-23
Herbe
r
t Xu
jobs: Only block
i
n wa
i
tcmd
o
n first
r
un
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-12-23
Herbert Xu
she
l
l: Disable g
l
ob again
a
s
i
t st
r
ips
tr
a
ing sla
s
hes
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-08-28
He
r
b
e
rt X
u
s
he
l
l: Grou
p
r
e
a
ddir64/dirent64 with open64
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-07-08
Herbert Xu
e
val:
C
h
eck n
f
la
g
i
n evaltree
i
n
ste
a
d
of
c
md
l
o
op
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-07-08
He
r
bert Xu
j
o
bs
:
Fix waitcm
d
bu
s
y loop
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-07-08
Herber
t
Xu
e
rro
r
: Remov
e
US
E
_NORET
U
RN ifdef
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-07-08
He
r
bert Xu
e
x
p
and: Mak
e
gl
o
b(3) in
t
errupti
b
le by SI
G
INT
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-06-01
He
r
bert
Xu
shell: E
n
able fnmatch/glob by
default
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-06-01
Herbert Xu
redir:
Retry ope
n
64 on EINTR
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-06-01
Herber
t
Xu
eval: Pr
e
ve
n
t recurs
i
ve PS4 expan
s
ion
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-06-01
He
r
b
e
r
t Xu
parse
r
: Get r
i
d
o
f
P
EOA
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-06-01
Herb
e
rt Xu
Release 0
.
5
.
11
.
commit
|
commitdiff
|
tree
2020-06-01
Herbert Xu
p
ars
e
r: F
i
x double-backslash nl in
old-s
t
y
le
c
o
mman
d
sub
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-05-28
Herbert Xu
p
a
rser: Sav
e
and resto
r
e here
d
oclist in exp
a
ndstr
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-05-15
Herbert Xu
shell: A
l
wa
y
s use
e
xplicit large file API
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-05-15
Herbert Xu
p
ars
e
r:
Fix alia
s
e
xpans
i
o
n
afte
r
h
eredoc or newlines
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-05-15
Herbert Xu
pars
e
r: Catch errors in e
x
pand
s
t
r
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-05-15
Herbert Xu
pa
r
ser: Fix handling
o
f empty aliases
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-04-29
Herbert Xu
jo
b
s
:
Fix i
n
f
i
nite loop
i
n
waitp
r
oc
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-04-29
H
erbert Xu
builtin: Fix seconds part
of t
i
mes
(
1)
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-04-29
Herber
t
Xu
r
e
di
r
: Clear saved redirections in s
u
b
s
hell
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-01-20
Herbert Xu
pa
r
ser: O
n
ly
a
ccept single-digit pa
r
ameter expans
i
on
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2020-01-20
Herb
e
rt
Xu
pa
r
s
e
r: Fix
old-style command substitution her
e
-docume
n
t
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2019-03-28
Herb
e
rt Xu
e
val: Reset hand
l
er
w
hen
e
ntering
a subshell
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2019-03-28
H
erbert Xu
expand: Fix do
u
ble-dec
r
ement i
n
argstr
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2019-03-28
Herbert
X
u
opt
i
o
ns:
D
o
n
ot set co
m
mandn
a
me
in procargs
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2019-02-25
H
e
rber
t
X
u
redir: Handle nested exec within REA
L
LY_CLOSED r
e
d
ire
c
t
i
on
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2019-02-25
Her
b
ert X
u
eval: Only restore exit statu
s
on exit/re
t
ur
n
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2019-02-25
H
e
rbert Xu
e
v
al: avoid
l
e
a
k
ing
m
e
mory asso
c
iated with red
i
rections
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-12-14
Herb
e
rt
Xu
syst
e
m
:
Disabl
e
glibc
warning on sigse
t
mask
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-12-14
Herbert
X
u
ev
a
l:
U
s
e sh_warnx inste
a
d
o
f warnx
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-12-14
Herbert Xu
parser: Do not
p
u
s
h
token back
before parseheredoc
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-12-14
Herbe
r
t
Xu
expand: Eat closi
n
g brace for
l
e
ngth parameter ex
p
ansi
o
n
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-12-14
Herbert Xu
eval: Use th
e
co
r
rect expansion
m
ode for
fd redirecti
o
n
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-11-19
Herbert Xu
expand: Fix
m
ultiple iss
u
e
s
with EXP_DISCARD in evalvar
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
Herbert Xu
expand: Ensure result is es
c
aped i
n
c
v
tnum
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
H
erbert Xu
memalloc:
A
void looping in
growstackto
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
Herbe
r
t Xu
eval: Alw
a
ys se
t
localvar_stop
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
Herbert
Xu
expand: Do
not repro
c
e
s
s data wh
e
n expanding w
o
rds
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
H
erbert Xu
ex
p
and
:
Fix
skipping of
command substi
t
u
tion when trimmi
n
g
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
Herbert Xu
e
xpand: Mer
g
e
s
yntax/quotes in memtodest with
fl
a
gs
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-08-29
H
erbe
r
t
Xu
expand: Use HOME in til
d
e expansion when it is
e
m
pty
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
builtin: Use
t
est_acces
s
from NetBSD when facc
e
s
s
at
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
H
e
rbert
X
u
e
v
al:
Ad
d
vf
o
rk support
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Her
b
ert
Xu
eval: Re
p
l
a
c
e
with listsetvar
w
ith mklocal
/
setva
r
eq
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
H
e
rbert Xu
eval: Fail immedi
a
t
e
ly with redirections
erro
r
s
for
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
eval
:
Add
assignment
b
ui
l
t-
i
n support again
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
exec
:
N
e
ver re
h
ash re
g
ular buil
t
-ins
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
exec: Stricte
r
pa
t
hopt
parsing
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herb
e
rt Xu
b
uiltin:
M
a
r
k more regular built-ins
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
H
e
rbert Xu
exec: Do n
o
t
a
llocate stack str
i
n
g
in padvance
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
He
r
bert
Xu
memal
l
oc: Ad
d
grow
s
tackto
h
e
lper
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
H
e
rbert Xu
jobs
:
Replace some uses of fmtstr with
s
t
p
cpy/stpncpy
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
output: Fix
fmt
s
tr re
t
urn value
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
v
a
r:
Set IFS to f
i
xed
val
u
e at start ti
m
e
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
H
erbert
X
u
parser: Save/res
t
o
re here-doc
u
ments in
comman
d
su
b
stitution
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
He
r
bert Xu
jobs
:
Only
clear
g
otsigchl
d
whe
n
w
aiting for everything
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herbert Xu
m
k
init: Spli
t
r
e
set into exitreset and reset
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
He
r
bert Xu
main: Only set sa
v
es
t
atus i
n
exi
t
cmd
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-28
Herb
e
rt Xu
exec: Return 126 on most errors
i
n s
h
ellexec
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-17
He
r
bert Xu
Release 0
.
5
.
10
.
2
.
commit
|
commitdiff
|
tree
2018-05-15
H
e
rbert Xu
parser: F
i
x
i
ncorrect eating of b
a
ckslash newlines
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-10
He
r
bert
Xu
Release 0
.
5
.
10
.
1
.
commit
|
commitdiff
|
tree
2018-05-09
Herbert
X
u
jobs - Do not b
l
ock when waiting o
n
S
I
GCHLD
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-05-03
He
r
b
e
rt Xu
R
elease 0
.
5
.
10
.
commit
|
commitdiff
|
tree
2018-04-19
Her
b
ert Xu
eval: Varia
b
le
a
s
signmen
t
s on functions are no
l
on
g
er
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
H
erbert Xu
parser: Fix parameter expansion inside inner double
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
H
e
rbert Xu
p
arser
:
Fi
x
p
arsing of
${}
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
Herb
e
rt Xu
expan
d
: Do not q
u
ote backslashes in unquote
d
p
arameter
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
Herb
e
r
t
Xu
e
val:
Re
s
tore
input f
i
les in evalcommand
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
Herbert Xu
eval: Re
a
p
zombies after buil
t
-in
c
omma
n
ds and f
u
n
ct
i
ons
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
Herbert Xu
redir: Fix typo in
noclobber code
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-19
Herbert
X
u
expand:
F
ix glibc glob(3
)
s
u
pport
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-02
Herbert Xu
e
x
pand
:
Fix buffer over
f
l
o
w
in
expandmeta
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-02
Herber
t
Xu
b
u
iltin: Move echo sp
a
ce/nl handling into
pri
n
t
_
es
c
a
p
e_str
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-02
He
r
bert X
u
buil
t
in
:
F
ix e
c
ho performan
c
e regression
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-02
Herber
t
X
u
expand: Fix g
h
ost fields w
i
th unquoted
$
@
/$*
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-02
Herbert Xu
parser: Allow newlines wit
h
in
param
e
ter
s
ubst
i
tution
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-04-02
Herbert Xu
expand: Fix
bugs with
w
ords con
n
ected to the
right
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-03-25
Herb
e
rt Xu
Revert
"[BUILTIN] Remove unnec
e
ssa
r
y
r
estorat
i
on of
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-03-21
H
e
r
b
ert X
u
pa
r
ser: Fix backquote support i
n
here-
d
ocument EOF
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-03-21
Herbert Xu
pa
r
se
r
: F
i
x single-quoted patte
r
ns i
n
here-documents
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2018-03-21
Herbert
X
u
parser: Ad
d
synta
x
stack
f
or recu
r
sive parsing
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2016-09-23
Her
b
er
t
Xu
Relea
s
e 0
.
5
.
9
.
1
.
commit
|
commitdiff
|
tree
2016-09-23
Herbert Xu
expand - Fi
x
dangling
l
eft s
q
uare brac
k
e
t
s in patterns
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2016-09-02
Herbert Xu
builti
n
: Fix echo -n ear
l
y termination
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2016-09-02
H
erbe
r
t Xu
b
uil
t
in: Fix
handling of tr
a
iling IFS white spaces
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2016-09-02
Herbert Xu
eval
:
Return status i
n
eval funct
i
ons
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2016-09-02
Herbert Xu
tra
p
: Impleme
n
t POSIX
.
1-200
8
tra
p
res
e
t b
e
hav
i
our
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2016-06-06
H
erb
e
rt
X
u
Release
0
.
5
.
9
.
commit
|
commitdiff
|
tree
2015-08-13
Her
b
ert X
u
builtin: R
e
set t
_
wp_op in t
e
stcm
d
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2015-01-05
Herbert Xu
input
:
Allow tw
o
c
o
nsecutive calls to pungetc
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2015-01-05
Herbert
X
u
input: Mov
e
all input state
i
nto parsefi
l
e
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2015-01-05
Her
b
ert Xu
i
n
put:
R
emove HETI
O
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2015-01-05
Her
b
ert Xu
input: Make preadb
u
ffer static
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2015-01-05
Herbert Xu
ex
p
and:
Fixed "$@" expansion when EXP_FULL is false
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2014-10-30
He
r
ber
t
Xu
[PARS
E
R] Catch
v
ariable len
g
th expa
n
s
ion
s
o
n
non-existan
t
.
.
.
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2014-10-28
Herbe
r
t
X
u
[P
A
RSER] S
i
mpli
f
y EOF/newl
i
ne handling in list par
s
er
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
2014-10-28
Herb
e
rt Xu
[P
A
RSER]
Removed unnecessar
y
pungetc on EO
F
from
parser
Signed-off-by: Herbert Xu <
herbert@gondor.apana.org.au
>
commit
|
commitdiff
|
tree
next