httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: httpd-apreq-2/src apreq_env.c
Date Sat, 10 Jul 2004 22:13:29 GMT
randyk      2004/07/10 15:13:29

  Modified:    .        STATUS
               src      apreq_env.c
  Log:
  Use fprintf(stderr, ...), rather than apr_file_printf(err, ...),
  on Win32 within cgi_log() of src/apreq_env.c, and make a note
  in STATUS to inverstigate why this must be done.
  
  Revision  Changes    Path
  1.65      +5 -1      httpd-apreq-2/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/STATUS,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- STATUS	8 Jul 2004 19:55:56 -0000	1.64
  +++ STATUS	10 Jul 2004 22:13:28 -0000	1.65
  @@ -50,6 +50,10 @@
   
   TODO:
   
  +    - Why must fprintf(stderr, ...), rather than
  +      apr_file_printf(err, ...), be used on Win32 in
  +      cgi_log() of src/apreq_env.c?
  +
       - CuTest needs va_arg to print comments for a failed unit test.
   
       - Get env/ (Apache::Test) tests to work for --with-apache2-src option.
  
  
  
  1.14      +6 -0      httpd-apreq-2/src/apreq_env.c
  
  Index: apreq_env.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/src/apreq_env.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- apreq_env.c	8 Jul 2004 02:10:05 -0000	1.13
  +++ apreq_env.c	10 Jul 2004 22:13:29 -0000	1.14
  @@ -225,11 +225,17 @@
   {
       dP;
       char buf[256];
  +#ifndef WIN32
       apr_file_t *err;
       apr_file_open_stderr(&err, p);
       apr_file_printf(err, "[%s(%d): %s] %s\n", file, line, 
               apr_strerror(status,buf,255),apr_pvsprintf(p,fmt,vp));
       apr_file_flush(err);
  +#else
  +    fprintf(stderr, "[%s(%d): %s] %s\n", file, line, 
  +            apr_strerror(status,buf,255),apr_pvsprintf(p,fmt,vp));
  +#endif
  +
   }
   
   static apr_status_t cgi_read(void *env, 
  
  
  

Mime
View raw message