version 1.18, 2006/08/16 07:39:15 |
version 1.19, 2006/09/19 05:52:23 |
|
|
strlcat(rcsdir, RCSDIR, sizeof(rcsdir)) >= sizeof(rcsdir)) |
strlcat(rcsdir, RCSDIR, sizeof(rcsdir)) >= sizeof(rcsdir)) |
errx(1, "rcs_choosefile: truncation"); |
errx(1, "rcs_choosefile: truncation"); |
|
|
if (stat(rcsdir, &sb) == 0 && (sb.st_mode & S_IFDIR)) |
if (stat(rcsdir, &sb) == 0 && S_ISDIR(sb.st_mode)) |
if (strlcpy(rcspath, rcsdir, sizeof(rcspath)) |
if (strlcpy(rcspath, rcsdir, sizeof(rcspath)) |
>= sizeof(rcspath) || |
>= sizeof(rcspath) || |
strlcat(rcspath, "/", sizeof(rcspath)) >= sizeof(rcspath)) |
strlcat(rcspath, "/", sizeof(rcspath)) >= sizeof(rcspath)) |