pike.git / src / modules / Pipe / pipe.c

version» Context lines:

pike.git/src/modules/Pipe/pipe.c:23:   #endif   #endif   #endif      #ifdef HAVE_SYS_ID_H   #include <sys/id.h>   #endif /* HAVE_SYS_ID_H */      #include <fcntl.h>    - RCSID("$Id: pipe.c,v 1.44 2000/12/01 08:10:19 hubbe Exp $"); + RCSID("$Id: pipe.c,v 1.45 2000/12/05 21:08:31 per Exp $");      #include "threads.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_error.h"   #include "builtin_functions.h"
pike.git/src/modules/Pipe/pipe.c:662:    }    len=s->len;    push_string(s);    apply_low(out->obj,out->write_offset,1);    out->mode=O_RUN;       ret=-1;    if(sp[-1].type == T_INT) ret=sp[-1].u.integer;    pop_stack();    -  if (ret==-1) /* Pike_error, byebye */ +  if (ret==-1) /* error, byebye */    {    output_finish(obj);    return;    }    out->pos+=ret;    THIS->sent+=ret;      #ifdef INSISTANT_WRITE    } while(ret == len);   #endif