perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@hyperreal.org
Subject cvs commit: modperl/src/modules/perl Apache.xs ModuleConfig.xs mod_perl.h perl_config.c
Date Tue, 22 Dec 1998 17:09:49 GMT
dougm       98/12/22 09:09:47

  Modified:    .        Changes Makefile.PL ToDo
               src/modules/perl Apache.xs ModuleConfig.xs mod_perl.h
                        perl_config.c
  Log:
  a few -Wall items
  no longer need default --with-layout
  
  Revision  Changes    Path
  1.231     +0 -3      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.230
  retrieving revision 1.231
  diff -u -r1.230 -r1.231
  --- Changes	1998/12/22 16:34:49	1.230
  +++ Changes	1998/12/22 17:09:41	1.231
  @@ -24,9 +24,6 @@
   Apache::ExtUtils will complain if it can't determine the
   directive handler prototype (args_how), rather than fail during 'make'
   
  -default --with-layout to `GNU' for 1.3.4, can be overridden with
  -APACI_ARGS or APACHE_LAYOUT Makefile.PL attribute
  -
   t/TEST =~ s/mod_perl_httpd.pid/httpd.pid 
   [Bruce W. Hoylman <bhoylma@advtech.uswest.com>]
   
  
  
  
  1.119     +3 -7      modperl/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- Makefile.PL	1998/12/14 23:33:59	1.118
  +++ Makefile.PL	1998/12/22 17:09:42	1.119
  @@ -163,7 +163,6 @@
   $ALL_HOOKS  = 0;
   $APACHE_SRC = "";
   $APACHE_PREFIX = "";
  -$APACHE_LAYOUT = "GNU";
   $APACHE_HEADER_INSTALL = 1;
   $PERL_SECTIONS = 0;
   $PERL_SSI = 0;
  @@ -202,7 +201,7 @@
   
   my @mp_args = (keys %PassEnv,
       qw(EXPERIMENTAL EVERYTHING DO_HTTPD NO_HTTPD CONFIG ADD_MODULE 
  -       APACHE_PREFIX APACHE_LAYOUT
  +       APACHE_PREFIX
          USE_APACI USE_DSO USE_APXS WITH_APXS APACI_ARGS PREP_HTTPD
          ALL_HOOKS ADD_VERSION STATIC DYNAMIC PORT XS_IMPORT));
   
  @@ -886,11 +885,6 @@
   	$cmd .= "./configure " .
   		  "--activate-module=src/modules/perl/libperl.a";
   
  -	my $v = httpd_version($APACHE_SRC, 1); 
  -	if($v >= 134 and $APACI_ARGS !~ /--with-layout=/) {
  -	    $cmd .= " --with-layout=$APACHE_LAYOUT";
  -	}
  -
   	if($USE_DSO) {
   	    $cmd .= " --enable-shared=perl";
   	}
  @@ -1749,10 +1743,12 @@
   sub write_version_h {
       my $d = shift;
       unlink "$d/mod_perl_version.h";
  +    my $pv = perl_version();
       local *FH;
       open FH, ">$d/mod_perl_version.h" or die "can't write $d/mod_perl_version.h $!";
       print FH <<EOF;
   #define MOD_PERL_STRING_VERSION "mod_perl/$VERSION"
  +#define PERLV $pv
   EOF
       close FH;
   }
  
  
  
  1.135     +0 -2      modperl/ToDo
  
  Index: ToDo
  ===================================================================
  RCS file: /home/cvs/modperl/ToDo,v
  retrieving revision 1.134
  retrieving revision 1.135
  diff -u -r1.134 -r1.135
  --- ToDo	1998/12/22 16:34:49	1.134
  +++ ToDo	1998/12/22 17:09:42	1.135
  @@ -15,8 +15,6 @@
   
   - at .../perl/Apache/SIG.pm line 30 (Mark Downing, Ron Hawkins)
   
  -- a few -Wall items
  -
   ---------------------------------------------------------------------------
   DOCUMENTATION (areas that *really* need some more or don't have any)
   ---------------------------------------------------------------------------
  
  
  
  1.69      +2 -0      modperl/src/modules/perl/Apache.xs
  
  Index: Apache.xs
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/Apache.xs,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- Apache.xs	1998/12/15 20:18:27	1.68
  +++ Apache.xs	1998/12/22 17:09:44	1.69
  @@ -309,6 +309,7 @@
   /*
    * ap_scan_script_header_err_core(r, buffer, getsfunc_SV, sv)
    */
  +#if 0
   static int getsfunc_SV(char *buf, int bufsiz, void *param)
   {
       SV *sv = (SV*)param;
  @@ -335,6 +336,7 @@
       }
       return 1;
   }
  +#endif /*0*/
   #endif /*MODULE_MAGIC_NUMBER*/
   
   static void rwrite_neg_trace(request_rec *r)
  
  
  
  1.7       +1 -1      modperl/src/modules/perl/ModuleConfig.xs
  
  Index: ModuleConfig.xs
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/ModuleConfig.xs,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ModuleConfig.xs	1998/11/13 21:38:57	1.6
  +++ ModuleConfig.xs	1998/12/22 17:09:44	1.7
  @@ -212,7 +212,7 @@
       Apache::CmdParms parms
   
       CODE:				   
  -    RETVAL = parms->cmd;
  +    RETVAL = (Apache__Command)parms->cmd;
   
       OUTPUT:
       RETVAL
  
  
  
  1.69      +6 -7      modperl/src/modules/perl/mod_perl.h
  
  Index: mod_perl.h
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/mod_perl.h,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- mod_perl.h	1998/12/22 16:01:42	1.68
  +++ mod_perl.h	1998/12/22 17:09:44	1.69
  @@ -44,6 +44,12 @@
   #endif
   #include "XSUB.h"
   
  +#ifndef MOD_PERL_STRING_VERSION
  +#include "mod_perl_version.h"
  +#endif
  +#ifndef MOD_PERL_VERSION
  +#define MOD_PERL_VERSION "TRUE"
  +#endif
   
   /* patchlevel.h causes a -Wall warning, 
    * plus chance that another patchlevel.h might be in -I paths
  @@ -79,13 +85,6 @@
     host->PerlDestroy()
   
   #define perl_free(host)
  -#endif
  -
  -#ifndef MOD_PERL_STRING_VERSION
  -#include "mod_perl_version.h"
  -#endif
  -#ifndef MOD_PERL_VERSION
  -#define MOD_PERL_VERSION "TRUE"
   #endif
   
   /* perl hides it's symbols in libperl when these macros are 
  
  
  
  1.60      +0 -1      modperl/src/modules/perl/perl_config.c
  
  Index: perl_config.c
  ===================================================================
  RCS file: /home/cvs/modperl/src/modules/perl/perl_config.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- perl_config.c	1998/12/22 16:01:42	1.59
  +++ perl_config.c	1998/12/22 17:09:45	1.60
  @@ -312,7 +312,6 @@
   
   void *perl_create_server_config (pool *p, server_rec *s)
   {
  -    char **new;
       perl_server_config *cls =
   	(perl_server_config *)palloc(p, sizeof (perl_server_config));
   
  
  
  

Mime
View raw message