git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35275d7
)
captive_shared_cache_map_flush(): Fixed the returned flushed bytes count.
author
short
<>
Thu, 6 Nov 2003 00:32:10 +0000
(
00:32
+0000)
committer
short
<>
Thu, 6 Nov 2003 00:32:10 +0000
(
00:32
+0000)
src/libcaptive/cc/sharedcachemap.c
patch
|
blob
|
history
diff --git
a/src/libcaptive/cc/sharedcachemap.c
b/src/libcaptive/cc/sharedcachemap.c
index
9ee7cd4
..
db4e1dc
100644
(file)
--- a/
src/libcaptive/cc/sharedcachemap.c
+++ b/
src/libcaptive/cc/sharedcachemap.c
@@
-784,6
+784,8
@@
CaptiveSharedCacheMapObject_page *page;
for (lsn_page=lsn_pages_pointer;lsn_page<lsn_pages_pointer+lsn_pages_count;lsn_page++) {
captive_shared_cache_map_page_write(lsn_page->captive_shared_cache_map_object,lsn_page->offset);
+ if (lsn_page->captive_shared_cache_map_object==captive_shared_cache_map_object
+ && lsn_page->offset>=start && lsn_page->offset<end)
flushed+=PAGE_SIZE;
}