Commit Diff
- Commit:
c57b71966ec2b3342a3a4da515944cabf268609f
- From:
- Igor Burago <ib@iburago.org>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
- Message:
- acme: accept paths with spaces in the 'name' ctl message As it is allowed to use spaces in file names set interactively through the tag since 7b1c85f, do not reject names with spaces in the 'name' ctl message either. Fixes #559.
- Actions:
- Patch — Tree
--- src/cmd/acme/xfid.c +++ src/cmd/acme/xfid.c @@ -691,7 +691,7 @@ xfidctlwrite(Xfid *x, Window *w) break; } for(i=0; i<nr; i++) - if(r[i] <= ' '){ + if(r[i] < ' '){ err = "bad character in file name"; goto out; }