httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_core.c
Date Thu, 07 Jan 1999 20:46:59 GMT
dgaudet     99/01/07 12:46:59

  Modified:    src/main http_core.c
  Log:
  dunno, maybe I'm missing something, but looks like we could save memory here
  
  Revision  Changes    Path
  1.244     +2 -0      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.243
  retrieving revision 1.244
  diff -u -r1.243 -r1.244
  --- http_core.c	1999/01/01 19:04:48	1.243
  +++ http_core.c	1999/01/07 20:46:58	1.244
  @@ -418,6 +418,8 @@
       qsort(sortbin, nelts, sizeof(*sortbin), reorder_sorter);
   
       /* and now build a new array */
  +    /* XXX: uh I don't see why we can't reuse the old array, what
  +     * was I thinking? -djg */
       sec = ap_make_array(p, nelts, sizeof(void *));
       for (i = 0; i < nelts; ++i) {
   	*(void **)ap_push_array(sec) = sortbin[i].elt;
  
  
  

Mime
View raw message