summary refs log tree commit diff
path: root/src/main.c
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/main.c
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/main.c')
0 files changed, 0 insertions, 0 deletions