You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2003/03/19 06:35:09 UTC

cvs commit: apr/file_io/netware pipe.c

wrowe       2003/03/18 21:35:09

  Modified:    file_io/netware pipe.c
  Log:
    Same fixes for netware as unix in pipe.c
  
    BTW - that code *definately* violates the style guide; either repeat
    the assignments or indent the second line!!!
  
  Revision  Changes    Path
  1.17      +3 -1      apr/file_io/netware/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/netware/pipe.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- pipe.c	7 Jan 2003 00:52:51 -0000	1.16
  +++ pipe.c	19 Mar 2003 05:35:08 -0000	1.17
  @@ -149,7 +149,7 @@
       (*file)->timeout = -1;
       (*file)->ungetchar = -1; /* no char avail */
       (*file)->filedes = *dafile;
  -    (*file)->flags = 0;
  +    (*file)->flags = APR_FILE_NOCLEANUP;
       (*file)->buffered = 0;
   #if APR_HAS_THREADS
       (*file)->thlock = NULL;
  @@ -173,6 +173,8 @@
       (*out)->pool    = pool;
       (*in)->filedes   = filedes[0];
       (*out)->filedes  = filedes[1];
  +    (*in)->flags     = APR_INHERIT;
  +    (*out)->flags    = APR_INHERIT;
       (*in)->is_pipe      =
       (*out)->is_pipe     = 1;
       (*out)->fname    =