rc: fix $ifs bug introduced with utf-8 code
R=rsc http://codereview.appspot.com/4187050
This commit is contained in:
parent
425a2b7863
commit
6886b3cd89
1 changed files with 4 additions and 2 deletions
|
|
@ -156,8 +156,10 @@ Xbackq(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
stop:
|
stop:
|
||||||
|
if(s != wd) {
|
||||||
*s = '\0';
|
*s = '\0';
|
||||||
v = newword(wd, v);
|
v = newword(wd, v);
|
||||||
|
}
|
||||||
s = wd;
|
s = wd;
|
||||||
}
|
}
|
||||||
if(s!=wd){
|
if(s!=wd){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue