You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/04/06 02:21:04 UTC

cvs commit: apache-2.0/src/lib/apr/file_io/unix open.c

trawick     00/04/05 17:21:04

  Modified:    src/lib/apr/file_io/unix open.c
  Log:
  allow ap_open_stderr() to be called with cont == NULL (for
  now at least) so that Apache can log messages to stderr on
  startup
  
  Revision  Changes    Path
  1.38      +0 -3      apache-2.0/src/lib/apr/file_io/unix/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- open.c	2000/04/03 19:44:30	1.37
  +++ open.c	2000/04/06 00:21:04	1.38
  @@ -345,9 +345,6 @@
       if (thefile == NULL)
           return APR_EBADARG;
   
  -    if (cont == NULL)
  -        return APR_ENOCONT;
  -
       (*thefile) = ap_pcalloc(cont, sizeof(ap_file_t));
       if ((*thefile) == NULL) {
           return APR_ENOMEM;