diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-30 00:51:51 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-30 00:51:51 +0000 |
commit | 582660c2f7508744967e1daecfb89ddc1913791d (patch) | |
tree | f116bba3be0e6e5bf591c4e1dd04bcd40df52156 /ace/Filecache.cpp | |
parent | 5c68f4d93bd41659e2493df768dfed34bfcff838 (diff) | |
download | ATCD-582660c2f7508744967e1daecfb89ddc1913791d.tar.gz |
Required modifications to accomodate the ACE_Filecache_Flag parameter.
Diffstat (limited to 'ace/Filecache.cpp')
-rw-r--r-- | ace/Filecache.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/Filecache.cpp b/ace/Filecache.cpp index 5e61de6afc4..c90161110b1 100644 --- a/ace/Filecache.cpp +++ b/ace/Filecache.cpp @@ -48,11 +48,11 @@ ACE_Filecache_Handle::ACE_Filecache_Handle (void) this->init (); } -ACE_Filecache_Handle::ACE_Filecache_Handle (const char *filename, int mapit) +ACE_Filecache_Handle::ACE_Filecache_Handle (const char *filename, + ACE_Filecache_Flag mapit) : mapit_ (mapit) { this->init (); - // Fetch the file from the Virtual_Filesystem let the // Virtual_Filesystem do the work of cache coherency. @@ -63,7 +63,7 @@ ACE_Filecache_Handle::ACE_Filecache_Handle (const char *filename, int mapit) ACE_Filecache_Handle::ACE_Filecache_Handle (const char *filename, int size, - int mapit) + ACE_Filecache_Flag mapit) : mapit_ (mapit) { this->init (); @@ -222,7 +222,7 @@ ACE_Filecache::insert_i (const char *filename, if (this->hash_.find (filename, handle) == -1) { ACE_NEW_RETURN (handle, - ACE_Filecache_Object (filename, filelock, mapit), + ACE_Filecache_Object (filename, filelock, 0, mapit), 0); ACE_DEBUG ((LM_DEBUG, " (%t) CVF: creating %s\n", filename)); @@ -274,7 +274,7 @@ ACE_Filecache::update_i (const char *filename, if (this->hash_.find (filename, handle) == -1) { ACE_NEW_RETURN (handle, - ACE_Filecache_Object (filename, filelock, mapit), + ACE_Filecache_Object (filename, filelock, 0, mapit), 0); ACE_DEBUG ((LM_DEBUG, " (%t) CVF: creating %s\n", filename)); @@ -292,7 +292,7 @@ ACE_Filecache::update_i (const char *filename, handle = this->remove_i (filename); ACE_NEW_RETURN (handle, - ACE_Filecache_Object (filename, filelock, mapit), + ACE_Filecache_Object (filename, filelock, 0, mapit), 0); ACE_DEBUG ((LM_DEBUG, " (%t) CVF: updating %s\n", filename)); @@ -456,8 +456,8 @@ ACE_Filecache_Object::ACE_Filecache_Object (void) ACE_Filecache_Object::ACE_Filecache_Object (const char *filename, ACE_SYNCH_RW_MUTEX &lock, - int mapit, - LPSECURITY_ATTRIBUTES sa) + LPSECURITY_ATTRIBUTES sa, + int mapit) : stale_ (0), sa_ (sa), lock_ (lock) |