pike.git / src / post_modules / Shuffler / e_source_block_pikestream.c

version» Context lines:

pike.git/src/post_modules/Shuffler/e_source_block_pikestream.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: e_source_block_pikestream.c,v 1.4 2004/07/09 01:34:47 srb Exp $ + || $Id: e_source_block_pikestream.c,v 1.5 2004/10/16 07:27:29 agehall Exp $   */      #include "global.h"   #include "bignum.h"   #include "object.h"   #include "interpret.h"      #include "fdlib.h"   #include "fd_control.h"   
pike.git/src/post_modules/Shuffler/e_source_block_pikestream.c:25:      struct pf_source   {    struct source s;       struct object *obj;    INT64 len, skip;   };       - static struct data get_data( struct source *_s, int len ) + static struct data get_data( struct source *_s, off_t len )   {    struct pf_source *s = (struct pf_source *)_s;    struct data res;       res.len = 0;    res.off = 0;    res.do_free = 0;       if( s->len>0 && len > s->len ) {    len = s->len;