|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.28, 2002/11/17 20:49:33 | version 1.29, 2003/08/03 04:12:01 | ||
|---|---|---|---|
|
|
||
| rootd = 0; | rootd = 0; | ||
| if (*wbuf) { | if (*wbuf) { | ||
| if (strlen(resolved) + strlen(wbuf) + rootd + 1 > MAXPATHLEN) { | if (strlen(resolved) + strlen(wbuf) + (rootd ? 0 : 1) + 1 > | ||
| MAXPATHLEN) { | |||
| errno = ENAMETOOLONG; | errno = ENAMETOOLONG; | ||
| goto err1; | goto err1; | ||
| } | } |