| # | Line 1 | Line 1 | |
|---|---|---|
| 1 | < | /* Copyright (c) 1990 Regents of the University of California */ |
| 1 | > | /* Copyright (c) 1992 Regents of the University of California */ |
| 2 | ||
| 3 | #ifndef lint | |
| 4 | static char SCCSid[] = "$SunId$ LBL"; | |
| # | Line 45 | Line 45 | register char *fname; | |
| 45 | do { | |
| 46 | cp = pname; | |
| 47 | while (*sp && (*cp = *sp++) != ':') | |
| 48 | < | cp++; |
| 48 | > | if (*cp == '\\') { /* escape */ |
| 49 | > | if (*sp) *cp++ = *sp++; |
| 50 | > | } else |
| 51 | > | cp++; |
| 52 | if (cp > pname && cp[-1] != '/') | |
| 53 | *cp++ = '/'; | |
| 54 | strcpy(cp, fname); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |