various bug fixes
This commit is contained in:
parent
a796abef16
commit
1a8f27c350
14 changed files with 1236 additions and 9 deletions
|
|
@ -1308,7 +1308,7 @@ runproc(void *argvp)
|
|||
name[e-t] = 0;
|
||||
e = utfrrune(name, '/');
|
||||
if(e)
|
||||
strcpy(name, e+1);
|
||||
memmove(name, e+1, strlen(e+1)+1); /* strcpy but overlaps */
|
||||
strcat(name, " "); /* add blank here for ease in waittask */
|
||||
c->name = bytetorune(name, &c->nname);
|
||||
free(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue