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:38:   }      static struct data get_data( struct source *src, off_t len )   {    struct pf_source *s = (struct pf_source *)src;    struct data res;       if (s->len >= 0 && len > s->len)    len = s->len;    +  res.data = NULL;    for (;;) {    struct pike_string *st;       push_int(len);    apply(s->obj, "read", 1);       if (TYPEOF(Pike_sp[-1]) != PIKE_T_STRING    || (st = Pike_sp[-1].u.string)->size_shift    || !st->len) {    s->s.eof = 1;