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.25 1998/06/12 19:20:45 noring Exp $"); + RCSID("$Id: pipe.c,v 1.26 1998/07/22 18:01: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:757:    i->type=I_NONE;       nobjects--;    error("illegal file object%s%s\n",    ((i->set_nonblocking_offset<0)?"; no set_nonblocking":""),    ((i->set_blocking_offset<0)?"; no set_blocking":""));    } else {    /* Try blocking mode */    i->type = I_BLOCKING_OBJ;    if (i==THIS->firstinput) { +  /* +  * FIXME: What if read_som_data() returns 0? +  */    read_some_data();    }    return;    }    }       if (i==THIS->firstinput)    {    push_callback(offset_input_read_callback);    push_int(0);