| # | Line 24 | Line 24 | fixargv0(char *av0) /* extract command name from full | |
|---|---|---|
| 24 | end = cp; | |
| 25 | continue; | |
| 26 | case '\\': /* remove directory */ | |
| 27 | + | case '/': |
| 28 | /* make sure the original pointer remains the same */ | |
| 29 | memmove(av0, cp+1, end-cp); | |
| 30 | return(av0); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |