httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/os2 filedup.c open.c
Date Fri, 28 Apr 2000 06:18:56 GMT
bjh         00/04/27 23:18:56

  Modified:    src/lib/apr/file_io/os2 filedup.c open.c
  Log:
  OS/2: pipe member of ap_file_t needs to be initialized whenever an ap_file_t
  is created.
  
  Revision  Changes    Path
  1.14      +2 -0      apache-2.0/src/lib/apr/file_io/os2/filedup.c
  
  Index: filedup.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/filedup.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- filedup.c	2000/04/18 14:27:08	1.13
  +++ filedup.c	2000/04/28 06:18:56	1.14
  @@ -88,6 +88,8 @@
       dup_file->buffered = old_file->buffered;
       dup_file->isopen = old_file->isopen;
       dup_file->flags = old_file->flags;
  +    /* TODO - dup pipes correctly */
  +    dup_file->pipe = old_file->pipe;
   
       if (*new_file == NULL) {
           ap_register_cleanup(dup_file->cntxt, dup_file, apr_file_cleanup,
  
  
  
  1.23      +3 -0      apache-2.0/src/lib/apr/file_io/os2/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/open.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- open.c	2000/04/18 14:53:29	1.22
  +++ open.c	2000/04/28 06:18:56	1.23
  @@ -143,6 +143,7 @@
       dafile->bufpos = 0;
       dafile->dataRead = 0;
       dafile->direction = 0;
  +    dafile->pipe = FALSE;
   
       ap_register_cleanup(dafile->cntxt, dafile, apr_file_cleanup, ap_null_cleanup);
       return APR_SUCCESS;
  @@ -211,6 +212,7 @@
       (*file)->buffered = FALSE;
       (*file)->eof_hit = FALSE;
       (*file)->flags = 0;
  +    (*file)->pipe = FALSE;
       return APR_SUCCESS;
   }    
   
  @@ -239,6 +241,7 @@
       (*thefile)->buffered = FALSE;
       (*thefile)->eof_hit = FALSE;
       (*thefile)->flags = 0;
  +    (*thefile)->pipe = FALSE;
   
       return APR_SUCCESS;
   }
  
  
  

Mime
View raw message