version 1.5, 2011/07/15 17:59:29 |
version 1.6, 2011/09/17 13:54:27 |
Line 1254 ofile_dirbuild(const char *dir, int verb, struct of ** |
|
Line 1254 ofile_dirbuild(const char *dir, int verb, struct of ** |
|
buf[0] = '\0'; |
buf[0] = '\0'; |
strlcat(buf, dir, MAXPATHLEN); |
strlcat(buf, dir, MAXPATHLEN); |
strlcat(buf, "/", MAXPATHLEN); |
strlcat(buf, "/", MAXPATHLEN); |
strlcat(buf, fn, MAXPATHLEN); |
sz = strlcat(buf, fn, MAXPATHLEN); |
if (sz >= MAXPATHLEN) { |
if (sz >= MAXPATHLEN) { |
fprintf(stderr, "%s: Path too long\n", dir); |
fprintf(stderr, "%s: Path too long\n", dir); |
return(0); |
return(0); |