Changeset 1685
- Timestamp:
- 01/11/11 13:17:19 (2 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
-
ior-thread.c (modified) (2 diffs)
-
ior-zlib.c (modified) (1 diff)
-
wandio.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/ior-thread.c
r1681 r1685 76 76 int in_buffer; 77 77 /* The read offset into the current buffer */ 78 int offset;78 off_t offset; 79 79 /* The reading thread */ 80 80 pthread_t producer; … … 192 192 } 193 193 194 static off_t thread_read(io_t *state, void *buffer, const off_t to_read)194 static off_t thread_read(io_t *state, void *buffer, off_t len) 195 195 { 196 196 int slice; 197 197 int copied=0; 198 198 int newbuffer; 199 int len = to_read;200 199 201 200 while(len>0) { -
trunk/lib/ior-zlib.c
r1626 r1685 33 33 34 34 35 #include "wandio.h" 35 36 #include <zlib.h> 36 #include "wandio.h"37 37 #include <sys/types.h> 38 38 #include <sys/stat.h> -
trunk/lib/wandio.h
r1562 r1685 34 34 #ifndef IO_H 35 35 #define IO_H 1 /**< Guard Define */ 36 #include "config.h" 36 37 #include <sys/types.h> 37 38 #include <stdio.h>
Note: See TracChangeset
for help on using the changeset viewer.
