[dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.34, 1.35 mail-cache-decisions.c, 1.9, 1.10 mail-cache-lookup.c, 1.31, 1.32 mail-index-lock.c, 1.40, 1.41 mail-index.c, 1.205, 1.206 mail-transaction-log.c, 1.98, 1.99

cras at dovecot.org cras at dovecot.org
Sat Aug 27 13:20:42 EEST 2005


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

Modified Files:
	mail-cache-compress.c mail-cache-decisions.c 
	mail-cache-lookup.c mail-index-lock.c mail-index.c 
	mail-transaction-log.c 
Log Message:
Removed fcntl() text from some locking error messages, because if
lock_method=flock, it was done using flock().. Also did several s/it's/its/
in comments and one error message.



Index: mail-cache-compress.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-compress.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mail-cache-compress.c	29 Mar 2005 12:18:49 -0000	1.34
+++ mail-cache-compress.c	27 Aug 2005 10:20:39 -0000	1.35
@@ -123,7 +123,7 @@
 	uint32_t i, message_count, seq, first_new_seq, old_offset;
 	uoff_t offset;
 
-	/* get sequence of first message which doesn't need it's temp fields
+	/* get sequence of first message which doesn't need its temp fields
 	   removed. */
 	idx_hdr = mail_index_get_header(view);
 	if (idx_hdr->day_first_uid[7] == 0) {

Index: mail-cache-decisions.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-decisions.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- mail-cache-decisions.c	24 Nov 2004 18:39:57 -0000	1.9
+++ mail-cache-decisions.c	27 Aug 2005 10:20:39 -0000	1.10
@@ -53,7 +53,7 @@
 
    There are some problems, such as if a client accesses message older than
    a week, we can't know if user just started using a new client which is
-   just filling it's local cache for the first time. Or it might be a
+   just filling its local cache for the first time. Or it might be a
    client user hasn't just used for over a week. In these cases we
    shouldn't have marked the field to be permanently cached. User might
    also switch clients from non-caching to caching.

Index: mail-cache-lookup.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-lookup.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- mail-cache-lookup.c	4 Jul 2005 11:32:20 -0000	1.31
+++ mail-cache-lookup.c	27 Aug 2005 10:20:39 -0000	1.32
@@ -121,7 +121,7 @@
 
 		if (file_field >= cache->file_fields_count) {
 			/* new field, have to re-read fields header to figure
-			   out it's size */
+			   out its size */
 			if (mail_cache_header_fields_read(cache) < 0)
 				return -1;
 			if (file_field >= cache->file_fields_count) {
@@ -150,7 +150,7 @@
 		next_pos = pos + ((data_size + 3) & ~3);
 		if (data_size > cache_rec->size || next_pos > cache_rec->size) {
 			mail_cache_set_corrupted(cache,
-				"record continues outside it's allocated size");
+				"record continues outside its allocated size");
 			return -1;
 		}
 

Index: mail-index-lock.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-lock.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- mail-index-lock.c	29 Mar 2005 12:18:49 -0000	1.40
+++ mail-index-lock.c	27 Aug 2005 10:20:39 -0000	1.41
@@ -225,7 +225,7 @@
 		return -1;
 
 	mail_index_set_error(index, "Timeout while waiting for release of "
-			     "shared fcntl() lock for index file %s",
+			     "shared lock for index file %s",
 			     index->filepath);
 	index->index_lock_timeout = TRUE;
 	return -1;

Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -d -r1.205 -r1.206
--- mail-index.c	25 Aug 2005 17:18:20 -0000	1.205
+++ mail-index.c	27 Aug 2005 10:20:39 -0000	1.206
@@ -1529,7 +1529,7 @@
 	old_fd = index->fd;
 	old_map->refcount++;
 
-	/* new file, new locks. the old fd can keep it's locks, they don't
+	/* new file, new locks. the old fd can keep its locks, they don't
 	   matter anymore as no-one's going to modify the file. */
 	old_lock_type = index->lock_type;
 	old_lock_id = index->lock_id;

Index: mail-transaction-log.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- mail-transaction-log.c	10 May 2005 18:20:47 -0000	1.98
+++ mail-transaction-log.c	27 Aug 2005 10:20:39 -0000	1.99
@@ -148,7 +148,7 @@
 
 	mail_index_set_error(file->log->index,
 			     "Timeout while waiting for release of "
-			     "fcntl() lock for transaction log file %s",
+			     "lock for transaction log file %s",
 			     file->filepath);
 	file->log->index->index_lock_timeout = TRUE;
 	return -1;



More information about the dovecot-cvs mailing list