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.41 2000/08/17 18:25:04 grubba Exp $"); + RCSID("$Id: pipe.c,v 1.42 2000/08/19 11:18:12 grubba Exp $");      #include "threads.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "error.h"   #include "builtin_functions.h"
pike.git/src/modules/Pipe/pipe.c:160:       /*    * if fd is -1: use fd    * else firstinput's type is I_MMAP: use firstinput's mmap    * else use buffer    */       int fd; /* buffer fd or -1 */       unsigned long bytes_in_buffer; -  unsigned long pos; +  size_t pos;    /* fd: size of buffer file */    /* current position of first element (buffer or mmap) */    struct buffer *firstbuffer,*lastbuffer;    short sleeping; /* sleeping; buffer is full */    short done;    struct input *firstinput,*lastinput;    struct object *firstoutput;    unsigned long sent;   };