httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-test/perl-framework/c-modules/test_rwrite mod_test_rwrite.c
Date Tue, 15 Jun 2004 15:50:53 GMT
jorton      2004/06/15 08:50:53

  Modified:    perl-framework/c-modules/test_pass_brigade
                        mod_test_pass_brigade.c
               perl-framework/c-modules/test_rwrite mod_test_rwrite.c
  Log:
  Fix more random stack corruption on LP64 platforms.
  
  Revision  Changes    Path
  1.4       +3 -3      httpd-test/perl-framework/c-modules/test_pass_brigade/mod_test_pass_brigade.c
  
  Index: mod_test_pass_brigade.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/c-modules/test_pass_brigade/mod_test_pass_brigade.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -d -w -u -r1.3 -r1.4
  --- mod_test_pass_brigade.c	29 Mar 2002 08:20:40 -0000	1.3
  +++ mod_test_pass_brigade.c	15 Jun 2004 15:50:53 -0000	1.4
  @@ -24,9 +24,9 @@
   static int test_pass_brigade_handler(request_rec *r)
   {
       conn_rec *c = r->connection;
  -    long total=0, remaining=1;
  +    size_t total=0, remaining=1;
       char *buff;
  -    int buff_size = 8192;
  +    size_t buff_size = 8192;
   
       if (strcmp(r->handler, "test_pass_brigade")) {
           return DECLINED;
  @@ -38,7 +38,7 @@
       httpd_test_split_qs_numbers(r, &buff_size, &remaining, NULL);
   
       fprintf(stderr, "[mod_test_pass_brigade] "
  -            "going to echo %ld bytes with buffer size=%d\n",
  +            "going to echo %lu bytes with buffer size=%lu\n",
               remaining, buff_size);
   
       buff = malloc(buff_size);
  
  
  
  1.7       +2 -2      httpd-test/perl-framework/c-modules/test_rwrite/mod_test_rwrite.c
  
  Index: mod_test_rwrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/c-modules/test_rwrite/mod_test_rwrite.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -d -w -u -r1.6 -r1.7
  --- mod_test_rwrite.c	21 Nov 2001 01:42:33 -0000	1.6
  +++ mod_test_rwrite.c	15 Jun 2004 15:50:53 -0000	1.7
  @@ -15,9 +15,9 @@
   
   static int test_rwrite_handler(request_rec *r)
   {
  -    long total=0, remaining=1;
  +    size_t total=0, remaining=1;
       char *buff;
  -    int buff_size = 8192;
  +    size_t buff_size = 8192;
   
       if (strcmp(r->handler, "test_rwrite")) {
           return DECLINED;
  
  
  

Mime
View raw message