Displaying 1 result from an estimated 1 matches for "eof_offset".
Did you mean:
  elf_offset
  
2010 Aug 31
0
istream_read like zlib, but without zlib
...m *)stream;
    const unsigned char *data;
    uoff_t high_offset;
    size_t size;
    int ret;
    fprintf(emxstream->debug,"READ Plugin\n");
    fflush(emxstream->debug);
    high_offset = stream->istream.v_offset + (stream->pos - stream->skip);
    if (emxstream->eof_offset == high_offset) {
        i_assert(emxstream->high_pos == 0);
        stream->istream.eof = TRUE;
        return -1;
    }
    if (stream->pos < emxstream->high_pos) {
        /* we're here because we seeked back within the read buffer. */
        ret = emxstream->high_pos -...