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

version» Context lines:

pike.git/src/modules/Pipe/pipe.c:15: Inside #if defined(HAVE_MMAP)
  #ifdef HAVE_MMAP   /* sys/mman.h is _probably_ there anyway. */   #include <sys/mman.h>   #endif   #endif   #endif      #include <fcntl.h>      #include "global.h" - RCSID("$Id: pipe.c,v 1.14 1997/10/10 18:59:47 grubba Exp $"); + RCSID("$Id: pipe.c,v 1.15 1998/01/13 23:00:35 hubbe 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:64:    * usage:    * single socket output    * or regular file output and (multiple, adding) socket output    * with no mmap input    *    * multiple socket output without regular file output illegal    */      static struct program *pipe_program, *output_program;    + #ifdef THIS + #undef THIS + #endif   #define THIS ((struct pipe *)(fp->current_storage))   #define THISOBJ (fp->current_object)      struct input   {    enum { I_NONE,I_OBJ,I_STRING,I_MMAP } type;    union    {    struct object *obj;    struct pike_string *str;