Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3551:65dc45982df9 HEAD
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.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 27 Aug 2005 13:20:39 +0300 |
parents | 6fbdd79b32a5 |
children | 6a1ea27a4256 |
files | src/lib-index/mail-cache-compress.c src/lib-index/mail-cache-decisions.c src/lib-index/mail-cache-lookup.c src/lib-index/mail-index-lock.c src/lib-index/mail-index.c src/lib-index/mail-transaction-log.c |
diffstat | 6 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-cache-compress.c Thu Aug 25 20:18:20 2005 +0300 +++ b/src/lib-index/mail-cache-compress.c Sat Aug 27 13:20:39 2005 +0300 @@ -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) {
--- a/src/lib-index/mail-cache-decisions.c Thu Aug 25 20:18:20 2005 +0300 +++ b/src/lib-index/mail-cache-decisions.c Sat Aug 27 13:20:39 2005 +0300 @@ -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.
--- a/src/lib-index/mail-cache-lookup.c Thu Aug 25 20:18:20 2005 +0300 +++ b/src/lib-index/mail-cache-lookup.c Sat Aug 27 13:20:39 2005 +0300 @@ -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; }
--- a/src/lib-index/mail-index-lock.c Thu Aug 25 20:18:20 2005 +0300 +++ b/src/lib-index/mail-index-lock.c Sat Aug 27 13:20:39 2005 +0300 @@ -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;
--- a/src/lib-index/mail-index.c Thu Aug 25 20:18:20 2005 +0300 +++ b/src/lib-index/mail-index.c Sat Aug 27 13:20:39 2005 +0300 @@ -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;
--- a/src/lib-index/mail-transaction-log.c Thu Aug 25 20:18:20 2005 +0300 +++ b/src/lib-index/mail-transaction-log.c Sat Aug 27 13:20:39 2005 +0300 @@ -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;