Lines 1-29
Link Here
|
1 |
--- archdep.cpp.orig Thu Oct 31 23:47:54 2002 |
1 |
|
2 |
+++ archdep.cpp Thu Oct 31 23:48:53 2002 |
2 |
$FreeBSD$ |
|
|
3 |
|
4 |
--- archdep.cpp.orig |
5 |
+++ archdep.cpp |
6 |
@@ -49,7 +49,7 @@ |
7 |
int ad_makedirs(char *path) |
8 |
{ |
9 |
strcpy(temp,path); |
10 |
- strcat(temp, "/yape"); |
11 |
+ strcat(temp, "/.yape"); |
12 |
CreateDirectory(temp, NULL); |
13 |
|
14 |
return 1; |
3 |
@@ -108,7 +108,7 @@ |
15 |
@@ -108,7 +108,7 @@ |
4 |
|
16 |
|
5 |
strcpy( homedir , getenv( "HOME" )); |
17 |
strcpy( homedir , getenv( "HOME" )); |
6 |
//strcpy( filter, filefilter); |
18 |
//strcpy( filter, filefilter); |
7 |
- strcat( homedir, "/yape" ); |
19 |
- strcat( homedir, "/yape" ); |
8 |
+ strcat( homedir, "/.yape" ); |
20 |
+ strcat( homedir, "/.yape" ); |
9 |
chdir ( homedir ); |
21 |
chdir ( homedir ); |
10 |
dirp = opendir( homedir ); |
22 |
dirp = opendir( homedir ); |
11 |
//fprintf( stderr, "reading from %s\n", homedir); |
23 |
//fprintf( stderr, "reading from %s\n", homedir); |
12 |
@@ -136,7 +136,7 @@ |
24 |
@@ -136,7 +136,7 @@ |
13 |
int ad_makedirs(char *path) |
25 |
int ad_makedirs(char *path) |
14 |
{ |
26 |
{ |
15 |
strcpy(temp,path); |
27 |
strcpy(temp,path); |
16 |
- strcat(temp, "/yape"); |
28 |
- strcat(temp, "/yape"); |
17 |
+ strcat(temp, "/.yape"); |
29 |
+ strcat(temp, "/.yape"); |
18 |
mkdir(temp, 0777); |
30 |
mkdir(temp, 0777); |
19 |
|
31 |
|
20 |
return 1; |
32 |
return 1; |
21 |
@@ -146,7 +146,7 @@ |
33 |
@@ -146,7 +146,7 @@ |
22 |
{ |
34 |
{ |
23 |
|
35 |
|
24 |
strcpy( temp, tmpchr); |
36 |
strcpy( temp, tmpchr); |
25 |
- strcat( temp, "/yape/yape.conf"); |
37 |
- strcat( temp, "/yape/yape.conf"); |
26 |
+ strcat( temp, "/.yape/yape.conf"); |
38 |
+ strcat( temp, "/.yape/yape.conf"); |
27 |
|
39 |
|
28 |
return temp; |
40 |
return temp; |
29 |
} |
41 |
} |