summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@stack.nl>2011-03-10 17:16:13 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2011-03-10 17:16:13 +0800
commit834629283f6c629a4da05ef60bae9445c954a19a (patch)
treee84d346c3225c2cc1dc46dda2e2c5c1ae03369bd /ChangeLog
parent[REDIR] Replace GPL noclobberopen code with the FreeBSD version (diff)
downloaddash-834629283f6c629a4da05ef60bae9445c954a19a.tar.gz
dash-834629283f6c629a4da05ef60bae9445c954a19a.zip
[EXPAND] Do not split the result of tilde expansion
A tilde expansion generates a valid pathname. Splitting it using IFS
either leaves it unchanged or changes it to something unintended.

This fixes FreeBSD sh test expansion/tilde1.0 and does not change the
outcome of the other tests.

This fixes Debian bug #601096.

Example:
  IFS=m HOME=/tmp; printf "%s\n" ~

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog1
1 files changed, 1 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c94dff8..a64e030 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2011-03-10  Jilles Tjoelker <jilles@stack.nl>
 
 	* Replace GPL noclobberopen code with the FreeBSD version.
+	* Do not split the result of tilde expansion.
 
 2010-11-28  Maciej Żenczykowski <zenczykowski@gmail.com>