summaryrefslogtreecommitdiffstats
path: root/emulators/yape/files/patch-archdep.cpp
blob: da56d8d8327c90e7c171e90f212f68ec79e64553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

$FreeBSD$

--- archdep.cpp.orig
+++ archdep.cpp
@@ -75,7 +75,7 @@
 int ad_makedirs(char *path)
 {
   strcpy(temp,path);
-  strcat(temp, "/yape");
+  strcat(temp, "/.yape");
   CreateDirectory(temp, NULL);
 
   return 1;
@@ -296,7 +296,7 @@
 	// Possible buffer overflow fixed.
 	strncpy(temp, path, 512);
 	if (strlen(temp) > 506) return 0;
-	strcat(temp, "/yape");
+	strcat(temp, "/.yape");
 	mkdir(temp, 0777);
 
 	return 1;
@@ -307,7 +307,7 @@
 	// Possible buffer overflow fixed.
 	strncpy(temp, tmpchr, 512);
 	if (strlen(temp) > 496) return NULL;
-	strcat( temp, "/yape/yape.conf");
+	strcat( temp, "/.yape/yape.conf");
 	return temp;
 }
 
OpenPOWER on IntegriCloud