file_cache: fix: add buf/size combo to exact_buf_oracle if file_io rounded size up.

trace: split code out of vfs_optimizer (was getting too large)
vfs_mount: expose API to unmount all (needed to be able to delete
archives after building)
vfs_optimizer: safely handle empty connection/node lists;
refactored+documented
vfs_tree: eliminate 'file in root dir' warning (can happen easily
enough)

rest: fixes/minor tweaks

This was SVN commit r3610.
This commit is contained in:
janwas
2006-03-07 05:44:34 +00:00
parent 9925188b68
commit e0280949fd
18 changed files with 589 additions and 457 deletions
+2 -2
View File
@@ -214,9 +214,9 @@ JSBool JSI_VFS::ReadFileLines( JSContext* cx, JSObject* UNUSED(obj), uintN argc,
// vfs_optimizer
JSBool JSI_VFS::ArchiveBuilderCancel(JSContext* cx, JSObject* UNUSED(obj), uintN argc, jsval* argv, jsval* rval )
JSBool JSI_VFS::ArchiveBuilderCancel(JSContext* UNUSED(cx), JSObject* UNUSED(obj), uintN argc, jsval* UNUSED(argv), jsval* UNUSED(rval) )
{
debug_assert( argc == 0 );
vfs_opt_cancel();
vfs_opt_auto_build_cancel();
return( JS_TRUE );
}