[dovecot-cvs]
dovecot/src/lib file-cache.h, 1.3, 1.4 istream.h, 1.17,
1.18 read-full.h, 1.1, 1.2 strfuncs.c, 1.47, 1.48 write-full.h,
1.3, 1.4
cras at dovecot.org
cras at dovecot.org
Sun Aug 7 14:41:25 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv27981/src/lib
Modified Files:
file-cache.h istream.h read-full.h strfuncs.c write-full.h
Log Message:
s/occured/occurred/
Index: file-cache.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/file-cache.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- file-cache.h 14 May 2005 11:29:07 -0000 1.3
+++ file-cache.h 7 Aug 2005 11:41:20 -0000 1.4
@@ -10,7 +10,7 @@
void file_cache_set_fd(struct file_cache *cache, int fd);
/* Read data from file, returns how many bytes was actually read or -1 if
- error occured. */
+ error occurred. */
ssize_t file_cache_read(struct file_cache *cache, uoff_t offset, size_t size);
/* Returns pointer to beginning of cached file. Only parts of the returned
Index: istream.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/istream.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- istream.h 29 Mar 2005 10:28:07 -0000 1.17
+++ istream.h 7 Aug 2005 11:41:20 -0000 1.18
@@ -63,7 +63,7 @@
needed to make a full line. */
char *i_stream_next_line(struct istream *stream);
/* Like i_stream_next_line(), but reads for more data if needed. Returns NULL
- if more data is needed or error occured. */
+ if more data is needed or error occurred. */
char *i_stream_read_next_line(struct istream *stream);
/* Returns pointer to beginning of read data, or NULL if there's no data
Index: read-full.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/read-full.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- read-full.h 27 Apr 2004 20:25:53 -0000 1.1
+++ read-full.h 7 Aug 2005 11:41:20 -0000 1.2
@@ -1,7 +1,7 @@
#ifndef __READ_FULL_H
#define __READ_FULL_H
-/* Read data from file. Returns -1 if error occured, or 0 if EOF came before
+/* Read data from file. Returns -1 if error occurred, or 0 if EOF came before
everything was read, or 1 if all was ok. */
int read_full(int fd, void *data, size_t size);
int pread_full(int fd, void *data, size_t size, off_t offset);
Index: strfuncs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/strfuncs.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- strfuncs.c 16 May 2005 21:00:45 -0000 1.47
+++ strfuncs.c 7 Aug 2005 11:41:20 -0000 1.48
@@ -98,7 +98,7 @@
va_end(args);
if (len < 0) {
- /* some error occured */
+ /* some error occurred */
len = 0;
ret = -1;
} else if ((size_t)len >= max_chars) {
Index: write-full.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/write-full.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- write-full.h 27 Apr 2004 20:25:53 -0000 1.3
+++ write-full.h 7 Aug 2005 11:41:20 -0000 1.4
@@ -1,7 +1,7 @@
#ifndef __WRITE_FULL_H
#define __WRITE_FULL_H
-/* Write data into file. Returns -1 if error occured, or 0 if all was ok.
+/* Write data into file. Returns -1 if error occurred, or 0 if all was ok.
If there's not enough space in device, -1 with ENOSPC is returned, and
it's unspecified how much data was actually written. */
int write_full(int fd, const void *data, size_t size);
More information about the dovecot-cvs
mailing list