acme: sync against Plan 9, remove -$ option
This commit is contained in:
parent
7927fe8f9e
commit
734a96bd16
7 changed files with 38 additions and 281 deletions
|
|
@ -1322,7 +1322,7 @@ cmdname(File *f, String *str, int set)
|
|||
}else{
|
||||
newname = dirname(f->curtext, runestrdup(s), n);
|
||||
n = newname.nr;
|
||||
r = runemalloc(n+1);
|
||||
r = runemalloc(n+1); /* NUL terminate */
|
||||
runemove(r, newname.r, n);
|
||||
free(newname.r);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue