mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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;
|
||||
}
|
||||
stop:
|
||||
*s = '\0';
|
||||
v = newword(wd, v);
|
||||
if(s != wd) {
|
||||
*s = '\0';
|
||||
v = newword(wd, v);
|
||||
}
|
||||
s = wd;
|
||||
}
|
||||
if(s!=wd){
|
||||
|
|
Loading…
Reference in a new issue