Changeset 137 for trunk/src/sh_tiger0.c


Ignore:
Timestamp:
Oct 28, 2007, 1:17:58 AM (17 years ago)
Author:
rainer
Message:

Fix compile errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_tiger0.c

    r134 r137  
    2424#include "sh_error.h"
    2525#include "sh_utils.h"
     26#include "sh_pthread.h"
    2627
    2728#define PRIV_MAX  32768
     
    121122  UINT64    bcount = 0;
    122123
    123   char * buffer = SH_ALLOC(PRIV_MAX + 72);
     124  sh_byte * buffer = SH_ALLOC(PRIV_MAX + 72);
    124125
    125126  unsigned long pages_read;
     
    156157  if (what >= TIGER_FILE)
    157158    {
    158       if (what > TIGER_FD)
     159      if (what > TIGER_FILE)
    159160        {
    160161          fd = what;
     
    829830  size_t sum;
    830831
    831   SL_TICKET  fd;
    832832  char * tmp;
    833833  uid_t   euid;
     
    869869
    870870      n = (off_t) sl_read_timeout (fd, buffer + sum,
    871                                    (size_t) BLOCKSIZE - sum, timeout);
     871                                   (size_t) BLOCKSIZE - sum, timeout, SL_FALSE);
    872872
    873873      if (SL_ISERROR (n))
     
    13391339  char buffer[4168]; /* BLOCKSIZE + 72 AIX compiler chokes */
    13401340  off_t sum = 0;
    1341   SL_TICKET  fd;
    13421341  char * tmp;
    13431342  uid_t  euid;
     
    13791378    do {
    13801379      n = (off_t) sl_read_timeout(fd, buffer + sum,
    1381                                   (size_t) BLOCKSIZE - sum, timeout);
     1380                                  (size_t) BLOCKSIZE - sum, timeout, SL_FALSE);
    13821381
    13831382      if (SL_ISERROR (n))
Note: See TracChangeset for help on using the changeset viewer.