Inlined pref accessor/modifiers.

git-svn-id: svn://10.0.0.236/trunk@11430 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gagan%netscape.com
1998-09-29 21:18:53 +00:00
parent 9a67de3b3b
commit 233be11345
4 changed files with 57 additions and 43 deletions

View File

@@ -27,8 +27,9 @@
#include "prmem.h"
#include "plstr.h"
#include "prlog.h"
#include "prclist.h"
#include "prio.h"
#include "prclist.h"
#include "prio.h"
#include "prsystem.h" // Directory Separator
#include "nsDiskModule.h"
#include "nsCacheObject.h"
@@ -444,6 +445,7 @@ char* FullFilename(const char* i_Filename)
return 0;
}
PL_strcpy(g_FullFilename, nsCachePref::GetInstance()->DiskCacheFolder());
PL_strcat(g_FullFilename, (const char*)PR_GetDirectorySepartor()); //spelling check later as nspr fixes it.
PL_strcat(g_FullFilename, i_Filename);
return g_FullFilename;
}