apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/file_io/win32 pipe.c
Date Mon, 23 Jul 2001 17:47:27 GMT
trawick     01/07/23 10:47:27

  Modified:    file_io/unix pipe.c
               file_io/win32 pipe.c
  Log:
  leave apr_file_t->fname NULL for a pipe
  
  Revision  Changes    Path
  1.47      +2 -2      apr/file_io/unix/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/pipe.c,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- pipe.c	2001/02/16 04:15:37	1.46
  +++ pipe.c	2001/07/23 17:47:27	1.47
  @@ -166,7 +166,7 @@
       (*in)->cntxt = cont;
       (*in)->filedes = filedes[0];
       (*in)->pipe = 1;
  -    (*in)->fname = apr_pstrdup(cont, "PIPE");
  +    (*in)->fname = NULL;
       (*in)->buffered = 0;
       (*in)->blocking = BLK_ON;
       (*in)->timeout = -1;
  @@ -179,7 +179,7 @@
       (*out)->cntxt = cont;
       (*out)->filedes = filedes[1];
       (*out)->pipe = 1;
  -    (*out)->fname = apr_pstrdup(cont, "PIPE");
  +    (*out)->fname = NULL;
       (*out)->buffered = 0;
       (*out)->blocking = BLK_ON;
       (*out)->timeout = -1;
  
  
  
  1.38      +4 -4      apr/file_io/win32/pipe.c
  
  Index: pipe.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/pipe.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- pipe.c	2001/06/06 16:04:54	1.37
  +++ pipe.c	2001/07/23 17:47:27	1.38
  @@ -91,7 +91,7 @@
   
       (*in) = (apr_file_t *)apr_pcalloc(p, sizeof(apr_file_t));
       (*in)->cntxt = p;
  -    (*in)->fname = "\0"; // What was this??? : apr_pstrdup(p, "PIPE"); */
  +    (*in)->fname = NULL;
       (*in)->pipe = 1;
       (*in)->timeout = -1;
       (*in)->ungetchar = -1;
  @@ -103,7 +103,7 @@
   
       (*out) = (apr_file_t *)apr_pcalloc(p, sizeof(apr_file_t));
       (*out)->cntxt = p;
  -    (*in)->fname = "\0"; // What was this??? : apr_pstrdup(p, "PIPE"); */
  +    (*in)->fname = NULL;
       (*out)->pipe = 1;
       (*out)->timeout = -1;
       (*out)->ungetchar = -1;
  @@ -161,7 +161,7 @@
   
       (*in) = (apr_file_t *)apr_pcalloc(p, sizeof(apr_file_t));
       (*in)->cntxt = p;
  -    (*in)->fname = ""; // What was this??? : apr_pstrdup(p, "PIPE"); */
  +    (*in)->fname = NULL;
       (*in)->pipe = 1;
       (*in)->timeout = -1;
       (*in)->ungetchar = -1;
  @@ -174,7 +174,7 @@
   
       (*out) = (apr_file_t *)apr_pcalloc(p, sizeof(apr_file_t));
       (*out)->cntxt = p;
  -    (*out)->fname = ""; // What was this??? : apr_pstrdup(p, "PIPE"); */
  +    (*out)->fname = NULL;
       (*out)->pipe = 1;
       (*out)->timeout = -1;
       (*out)->ungetchar = -1;
  
  
  

Mime
View raw message