Subject: xcopilot
To: None <tech-pkg@netbsd.org>
From: Stephen B. Salai <bsalai@rochester.rr.com>
List: tech-pkg
Date: 03/15/1999 12:24:00
xcopilot builds fine, but trying to run it produces:
sparky# xcopilot &
[1] 13105
sparky# Could not create rc directory: No such file or directory
[1] Exit 1 xcopilot
I took a look at the source, and found where this is generated:
int init(Pilot *pilot)
{
struct stat buf;
expand_tilde(&pilot->DataDir);
add_slash(&pilot->DataDir);
if (stat(pilot->DataDir, &buf) == -1) {
if (errno == ENOENT) {
if (mkdir(pilot->DataDir, S_IRWXU)) {
perror("Could not create rc directory");
exit(1);
}
}
else {
perror("Could not access rc directory");
exit(1);
}
}
but this wasn't any help to me.
Any thoughts?
Brad