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

version» Context lines:

pike.git/src/modules/Pipe/pipe.c:19: Inside #if defined(HAVE_MMAP)
  #else   #ifdef HAVE_MMAP   /* sys/mman.h is _probably_ there anyway. */   #include <sys/mman.h>   #endif   #endif   #endif      #include <fcntl.h>    - RCSID("$Id: pipe.c,v 1.39 2000/08/09 21:01:23 grubba Exp $"); + RCSID("$Id: pipe.c,v 1.40 2000/08/10 07:40: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:615:    }   }      /*    * Try to write some data to our precious output    */   static INLINE void output_try_write_some(struct object *obj)   {    struct output *out;    struct pike_string *s; -  unsigned long len; -  INT32 ret; +  size_t len; +  INT_TYPE ret;       out=(struct output*)(obj->storage);      #ifdef INSISTANT_WRITE    do    {   #endif    /* Get some data to write */    s=gimme_some_data(out->pos);    if (!s) /* out of data */