summary refs log tree commit diff
path: root/src/funcs/login
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-09-08 20:23:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-09-08 20:23:25 +0800
commitb61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166 (patch)
tree4794b21ddac4ea469d2902342c169628d905cd95 /src/funcs/login
parent[EXPAND] Fix ifsfirst/ifslastp leak (diff)
downloaddash-b61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166.tar.gz
dash-b61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166.zip
[BUILTIN] Fix trailing field bug in read(1)
The new read(1) code fails to handle the last variable correctly if
it happens to be terminated by IFS characters.  Those characters
are included in the last variable but they should not be.

This patch fixes this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/login')
0 files changed, 0 insertions, 0 deletions
> 2022-03-24Skip matches with ident chars on either sideJune McEnroe 2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe 2022-03-22Source ~/.profile.local if it existsJune McEnroe 2022-03-18Publish "Addendum 2021"June McEnroe 2022-03-16Remove wcwidth portJune McEnroe 2022-03-16Remove -j4 from ./PlanJune McEnroe 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe