Changeset 137 for trunk/src/sh_tiger0.c
- Timestamp:
- Oct 28, 2007, 1:17:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_tiger0.c
r134 r137 24 24 #include "sh_error.h" 25 25 #include "sh_utils.h" 26 #include "sh_pthread.h" 26 27 27 28 #define PRIV_MAX 32768 … … 121 122 UINT64 bcount = 0; 122 123 123 char* buffer = SH_ALLOC(PRIV_MAX + 72);124 sh_byte * buffer = SH_ALLOC(PRIV_MAX + 72); 124 125 125 126 unsigned long pages_read; … … 156 157 if (what >= TIGER_FILE) 157 158 { 158 if (what > TIGER_F D)159 if (what > TIGER_FILE) 159 160 { 160 161 fd = what; … … 829 830 size_t sum; 830 831 831 SL_TICKET fd;832 832 char * tmp; 833 833 uid_t euid; … … 869 869 870 870 n = (off_t) sl_read_timeout (fd, buffer + sum, 871 (size_t) BLOCKSIZE - sum, timeout );871 (size_t) BLOCKSIZE - sum, timeout, SL_FALSE); 872 872 873 873 if (SL_ISERROR (n)) … … 1339 1339 char buffer[4168]; /* BLOCKSIZE + 72 AIX compiler chokes */ 1340 1340 off_t sum = 0; 1341 SL_TICKET fd;1342 1341 char * tmp; 1343 1342 uid_t euid; … … 1379 1378 do { 1380 1379 n = (off_t) sl_read_timeout(fd, buffer + sum, 1381 (size_t) BLOCKSIZE - sum, timeout );1380 (size_t) BLOCKSIZE - sum, timeout, SL_FALSE); 1382 1381 1383 1382 if (SL_ISERROR (n))
Note:
See TracChangeset
for help on using the changeset viewer.