kio_help cache location

Oswald Buddenhagen ossi at kde.org
Tue Dec 2 01:28:31 GMT 2003


moin,

attached patch moves kio_help's cache to where it should be, i guess.
there is already some "help" directory in "cache" here ... dunno what it
is; somebody more knowledgable that me will know whether the two belong
together. :)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
-------------- next part --------------
? kio_help.diff
Index: kio_help.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdoctools/kio_help.cpp,v
retrieving revision 1.52
diff -U2 -r1.52 kio_help.cpp
--- kio_help.cpp	14 Nov 2003 08:53:36 -0000	1.52
+++ kio_help.cpp	2 Dec 2003 01:24:14 -0000
@@ -235,6 +235,6 @@
                 infoMessage( i18n( "Saving to cache" ) );
                 QString cache = file.left( file.length() - 7 );
-                saveToCache( mParsed, locateLocal( "data",
-                                                        "kio_help/cache" + cache +
+                saveToCache( mParsed, locateLocal( "cache",
+                                                        "kio_help" + cache +
                                                         "cache.bz2" ) );
             }
Index: xslt.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdoctools/xslt.cpp,v
retrieving revision 1.67
diff -U2 -r1.67 xslt.cpp
--- xslt.cpp	19 Oct 2003 11:55:22 -0000	1.67
+++ xslt.cpp	2 Dec 2003 01:24:15 -0000
@@ -280,6 +280,6 @@
         return output;
     if ( readCache( filename,
-                    locateLocal( "data",
-                                 "kio_help/cache" + cache +
+                    locateLocal( "cache",
+                                 "kio_help" + cache +
                                  "cache.bz2" ), output ) )
         return output;


More information about the kde-core-devel mailing list