httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_config.c
Date Mon, 11 Oct 1999 23:05:17 GMT
martin      99/10/11 16:05:16

  Modified:    src/main http_config.c
  Log:
  When we run out of memory, there's *no way* to continue successfully. Exit.
  
  Revision  Changes    Path
  1.148     +1 -0      apache-1.3/src/main/http_config.c
  
  Index: http_config.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_config.c,v
  retrieving revision 1.147
  retrieving revision 1.148
  diff -u -r1.147 -r1.148
  --- http_config.c	1999/08/27 23:38:10	1.147
  +++ http_config.c	1999/10/11 23:05:15	1.148
  @@ -698,6 +698,7 @@
           sizeof(module *)*(total_modules+DYNAMIC_MODULE_LIMIT+1));
       if (ap_loaded_modules == NULL) {
   	fprintf(stderr, "Ouch!  Out of memory in ap_setup_prelinked_modules()!\n");
  +	exit(1);
       }
       for (m = ap_preloaded_modules, m2 = ap_loaded_modules; *m != NULL; )
           *m2++ = *m++;
  
  
  

Mime
View raw message