version 1.7, 2006/04/27 07:59:33 |
version 1.8, 2006/04/29 05:31:28 |
|
|
*/ |
*/ |
if (strcmp(rcs_suffixes, "") == 0) { |
if (strcmp(rcs_suffixes, "") == 0) { |
fd = open(rcspath, O_RDONLY); |
fd = open(rcspath, O_RDONLY); |
strlcpy(out, rcspath, len); |
if (strlcpy(out, rcspath, len) >= len) |
|
errx(1, "rcs_choosefile: truncation"); |
return (fd); |
return (fd); |
} |
} |
|
|
|
|
xfree(suffixes); |
xfree(suffixes); |
|
|
fd = open(rcspath, O_RDONLY); |
fd = open(rcspath, O_RDONLY); |
strlcpy(out, rcspath, len); |
if (strlcpy(out, rcspath, len) >= len) |
|
errx(1, "rcs_choosefile: truncation"); |
|
|
return (fd); |
return (fd); |
} |
} |