This commit is contained in:
gagan%netscape.com 1998-09-23 06:01:07 +00:00
Родитель add3b6463e
Коммит 16e7a2b00a
5 изменённых файлов: 9 добавлений и 8 удалений

6
network/cache/nu/public/makefile.win поставляемый
Просмотреть файл

@ -22,10 +22,10 @@ MODULE=cache
EXPORTS=nsCacheObject.h nsMemModule.h nsCacheManager.h \
nsDiskModule.h nsCacheModule.h nsMemCacheObject.h \
nsCachePref.h nsCacheBkgThd.h nsBkgThread.h \
CacheStubs.h nsCacheIterator.h nsIterator.h \
nsCachePref.h nsCacheBkgThd.h nsBkgThread.h \
CacheStubs.h nsCacheIterator.h nsIterator.h \
nsMonitorable.h nsStream.h nsFileStream.h \
nsMemStream.h nsEnumeration.h \
nsMemStream.h nsEnumeration.h \
$(NULL)
include <$(DEPTH)\config\rules.mak>

2
network/cache/nu/public/nsCacheModule.h поставляемый
Просмотреть файл

@ -174,7 +174,7 @@ inline void nsCacheModule::NextModule(nsCacheModule* pNext)
{
/* ERROR */
delete m_pNext; //Worst case.
m_pNext = 0;
}
m_pNext = pNext;
}

2
network/cache/nu/src/makefile.win поставляемый
Просмотреть файл

@ -51,7 +51,7 @@ OBJS = \
.\$(OBJDIR)\nsBkgThread.obj \
.\$(OBJDIR)\nsCacheBkgThd.obj \
.\$(OBJDIR)\CacheStubs.obj \
.\$(OBJDIR)\nsFileStream.obj \
.\$(OBJDIR)\nsFileStream.obj \
.\$(OBJDIR)\nsMemStream.obj \
$(NULL)

5
network/cache/nu/src/nsCacheManager.cpp поставляемый
Просмотреть файл

@ -271,9 +271,10 @@ PRUint32
NumberOfObjects(void)
{
PRUint32 objs = 0;
for (int i = TheManager.Entries()-1; i-- ; i>=0)
int i = TheManager.Entries();
while (i>0)
{
objs += TheManager.GetModule(i)->Entries();
objs += TheManager.GetModule(--i)->Entries();
}
return objs;
}

2
network/cache/nu/src/nsCachePref.cpp поставляемый
Просмотреть файл

@ -40,7 +40,7 @@ nsCachePref::nsCachePref(void):
//Read all the stuff from pref here.
//If this changes to nsPref, here is all that needs to be changed.
//PRUint32 nTemp;
//PREF_GetIntPref("browser.cache.memory_cache_size",&nTemp);
//PREF_GetIntPref("browser.cache.memory_cache_size",&nTemp);
//*1024
}