| version 1.12, 2005/09/13 01:44:09 |
version 1.13, 2005/09/13 21:38:03 |
| Line 581 glob1(pattern, pglob, limit) |
|
| Line 581 glob1(pattern, pglob, limit) |
|
| * we save one character so that we can use ptr >= limit, |
* we save one character so that we can use ptr >= limit, |
| * in the general case when we are appending non nul chars only. |
* in the general case when we are appending non nul chars only. |
| */ |
*/ |
| return(glob2(pathbuf, pathbuf, pathbuf + sizeof(pathbuf) - 1, pattern, |
return(glob2(pathbuf, pathbuf, |
| |
pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1, |
| |
pattern, |
| pglob, limit)); |
pglob, limit)); |
| } |
} |
| |
|