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.2 2003/03/14 15:57:49 grubba Exp $ + || $Id: e_source_block_pikestream.c,v 1.3 2003/09/10 15:21:59 mast 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:21:   /* Source: blocking pike-stream    * Argument: Stdio.File lookalike without read    * callback support (read only needed)    */      struct pf_source   {    struct source s;       struct object *obj; -  size_t len, skip; +  ptrdiff_t len, skip;   };         static struct data get_data( struct source *_s, int len )   {    struct pf_source *s = (struct pf_source *)_s;    struct data res;       res.len = 0;    res.off = 0;