ports/emulators/yape/files/patch-archdep.cpp
Ying-Chieh Liao 165f72d80a add yape 0.32.3
Yet Another Commodore +4 Emulator

PR:		45004
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2002-11-19 14:39:00 +00:00

29 lines
658 B
C++

--- archdep.cpp.orig Thu Oct 31 23:47:54 2002
+++ archdep.cpp Thu Oct 31 23:48:53 2002
@@ -108,7 +108,7 @@
strcpy( homedir , getenv( "HOME" ));
//strcpy( filter, filefilter);
- strcat( homedir, "/yape" );
+ strcat( homedir, "/.yape" );
chdir ( homedir );
dirp = opendir( homedir );
//fprintf( stderr, "reading from %s\n", homedir);
@@ -136,7 +136,7 @@
int ad_makedirs(char *path)
{
strcpy(temp,path);
- strcat(temp, "/yape");
+ strcat(temp, "/.yape");
mkdir(temp, 0777);
return 1;
@@ -146,7 +146,7 @@
{
strcpy( temp, tmpchr);
- strcat( temp, "/yape/yape.conf");
+ strcat( temp, "/.yape/yape.conf");
return temp;
}