httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/unix open.c
Date Sun, 12 Sep 1999 12:10:13 GMT
ben         99/09/12 05:10:12

  Modified:    src/lib/apr/file_io/unix open.c
  Log:
  Initialise data structure correctly in ap_put_os_file.
  
  Revision  Changes    Path
  1.10      +1 -1      apache-2.0/src/lib/apr/file_io/unix/open.c
  
  Index: open.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- open.c	1999/09/12 10:52:14	1.9
  +++ open.c	1999/09/12 12:10:11	1.10
  @@ -250,7 +250,7 @@
   {
       int *dafile = thefile;
       if ((*file) == NULL) {
  -        (*file) = (struct file_t *)ap_palloc(cont, sizeof(struct file_t));
  +        (*file) = ap_pcalloc(cont, sizeof(struct file_t));
           (*file)->cntxt = cont;
       }
       (*file)->filedes = *dafile;
  
  
  

Mime
View raw message