[dovecot-cvs] dovecot/src/lib file-cache.c, 1.3, 1.4 file-cache.h, 1.1, 1.2

cras at dovecot.org cras at dovecot.org
Sun Dec 5 03:36:15 EET 2004


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv16278/lib

Modified Files:
	file-cache.c file-cache.h 
Log Message:
Changed file_cache_invalidate()'s size argument to uoff_t type.



Index: file-cache.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/file-cache.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- file-cache.c	29 Nov 2004 12:21:24 -0000	1.3
+++ file-cache.c	5 Dec 2004 01:36:12 -0000	1.4
@@ -160,7 +160,7 @@
 	return cache->mmap_base;
 }
 
-void file_cache_invalidate(struct file_cache *cache, uoff_t offset, size_t size)
+void file_cache_invalidate(struct file_cache *cache, uoff_t offset, uoff_t size)
 {
 	size_t page_size = mmap_get_page_size();
 	unsigned char *bits, mask;

Index: file-cache.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/file-cache.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- file-cache.h	8 Nov 2004 00:40:36 -0000	1.1
+++ file-cache.h	5 Dec 2004 01:36:12 -0000	1.2
@@ -21,6 +21,6 @@
 /* Invalidate cached memory area. It will be read again next time it's tried
    to be accessed. */
 void file_cache_invalidate(struct file_cache *cache,
-			   uoff_t offset, size_t size);
+			   uoff_t offset, uoff_t size);
 
 #endif



More information about the dovecot-cvs mailing list