Changeset 890
- Timestamp:
- 08/10/07 12:16:44 (1 year ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/buffer.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r889 r890 17 17 (this is really required because now we have 18 18 cherokee_buffer_ensure_size() so the old semantic of 19 cherokee_buffer_ensure_addlen() had to go anyway). 19 cherokee_buffer_ensure_addlen() had to go anyway); 20 21 - cherokee_buffer_read_from_fd(), now we can read full size 22 instead of size - 1, so it fixes the case of a read size 23 of 1 byte, because now the function can return ret_ok 24 instead of (wrong) ret_eof (theoretical case because 25 in practice there is only one caller that passes 4096 26 as read size). 20 27 21 28 2007-08-10 A.D.F <adefacc@tin.it> cherokee/trunk/cherokee/buffer.c
r889 r890 893 893 /* Read data at the end of the buffer 894 894 */ 895 len = read (fd, &(buf->buf[buf->len]), size - 1);895 len = read (fd, &(buf->buf[buf->len]), size); 896 896 if (len < 0) { 897 897 /* On error