Switching on NU_CACHE by default. Use set NO_NU_CACHE=1 to switch it off. Windows only.

This commit is contained in:
gagan%netscape.com 1998-12-01 04:44:31 +00:00
Родитель ecb6e911b9
Коммит ad22eb66e6
2 изменённых файлов: 5 добавлений и 3 удалений

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

@ -18,7 +18,10 @@
IGNORE_MANIFEST=1
#
!ifndef NU_CACHE
DEPTH=..\..
include <$(DEPTH)\config\config.mak>
!ifdef NU_CACHE
DIRS=nu
!endif
@ -65,7 +68,6 @@ CSRCS = \
LIBRARY_NAME=netcache
MODULE=netcache
DEPTH=..\..
EXTRA_LIBS=

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

@ -121,7 +121,7 @@ nsCacheManager::Contains(const char* i_url) const
char extraBytesSeparator;
*/
}
#ifndef NDEBUG
#if !defined(NDEBUG) && defined(DEBUG_gagan)
fputs(i_url, stdout);
fputs(bStatus ? " is " : " is not ", stdout);
fputs("in cache\n", stdout);