httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigC.pm
Date Mon, 31 Mar 2003 06:58:41 GMT
jerenkrantz    2003/03/30 22:58:41

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigC.pm
  Log:
  Fix compile error with Forte:
  
  "mod_authany.c", line 86: controlling expressions must have scalar type
  
  This is due to the hook function variables checks being of the form:
  
  if (authany_handler) { }
  
  It'll now be:
  
  if (authany_handler != NULL) { }
  
  Forte is happy now.  Finding the chapter and verse in the C standard that
  claims this is left as an exercise to the reader.
  
  Revision  Changes    Path
  1.20      +1 -1      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm
  
  Index: TestConfigC.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -u -r1.19 -r1.20
  --- TestConfigC.pm	3 Jun 2002 07:05:05 -0000	1.19
  +++ TestConfigC.pm	31 Mar 2003 06:58:40 -0000	1.20
  @@ -266,7 +266,7 @@
   my @cmodule_hooks = map {
       my $hook = cmodule_define_name($_);
       <<EOF;
  -    if ($hook)
  +    if ($hook != NULL)
           ap_hook_$_($hook,
                      NULL, NULL,
                      APACHE_HTTPD_TEST_HOOK_ORDER);
  
  
  

Mime
View raw message