summaryrefslogtreecommitdiffstats
path: root/kinit/lnusertemp.c
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-13 15:14:23 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-13 15:14:23 -0500
commit628ce684b973d8f8ed6ce04049bae393d2ac71a7 (patch)
tree898058f8bc08cf006c4b6b0e70b4d0e2cfec76bc /kinit/lnusertemp.c
parent018767abe95240e2f31e797c4823d79804d69667 (diff)
downloadtdelibs-628ce684b973d8f8ed6ce04049bae393d2ac71a7.tar.gz
tdelibs-628ce684b973d8f8ed6ce04049bae393d2ac71a7.zip
Fix references of /var/tmp/kdecache -> /var/tmp/tdecache to avoid potential conflicts with KDE4.
Fix docbook references of /tmp/kde-$USER -> /tmp/tde-$USER. This partially resolves bug report 813.
Diffstat (limited to 'kinit/lnusertemp.c')
-rw-r--r--kinit/lnusertemp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kinit/lnusertemp.c b/kinit/lnusertemp.c
index ba79e62a7..171107041 100644
--- a/kinit/lnusertemp.c
+++ b/kinit/lnusertemp.c
@@ -257,9 +257,9 @@ int main(int argc, char **argv)
if (strcmp(argv[1], "tmp") == 0)
{
- tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/kde-")+1);
+ tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/tde-")+1);
strcpy(tmp_prefix, tmp);
- strcat(tmp_prefix, "/kde-");
+ strcat(tmp_prefix, "/tde-");
kde_prefix = "/tmp-";
}
@@ -277,9 +277,9 @@ int main(int argc, char **argv)
if (!tmp || !tmp[0])
tmp = "/var/tmp";
- tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/kdecache-")+1);
+ tmp_prefix = (char *)malloc(strlen(tmp)+strlen("/tdecache-")+1);
strcpy(tmp_prefix, tmp );
- strcat(tmp_prefix, "/kdecache-" );
+ strcat(tmp_prefix, "/tdecache-" );
kde_prefix = "/cache-";
}