httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: cvs commit: httpd-2.0/server core.c
Date Tue, 05 Mar 2002 17:56:10 GMT
Greg,
Please do not mix function change with code style changes.

Bill

> gregames    02/03/05 07:46:21
> 
>   Modified:    server   core.c
>   Log:
>   fix <Directory ~ blah> containers.
>   
>   also, eradicate a few nefarious tabs which were found lurking in the vicinity.
>   
>   Submitted by:  Rob Simonson <simo@us.ibm.com>
>   Reviewed by:   Greg Ames
>   
>   Revision  Changes    Path
>   1.157     +4 -3      httpd-2.0/server/core.c
>   
>   Index: core.c
>   ===================================================================
>   RCS file: /home/cvs/httpd-2.0/server/core.c,v
>   retrieving revision 1.156
>   retrieving revision 1.157
>   diff -u -r1.156 -r1.157
>   --- core.c 5 Mar 2002 05:24:21 -0000 1.156
>   +++ core.c 5 Mar 2002 15:46:21 -0000 1.157
>   @@ -1403,7 +1403,7 @@
>    }
>    
>    AP_CORE_DECLARE_NONSTD(const char *) ap_limit_section(cmd_parms *cmd, void *dummy,
>   -   const char *arg) {
>   +          const char *arg) {
>        const char *limited_methods = ap_getword(cmd->pool, &arg, '>');
>        void *tog = cmd->cmd->cmd_data;
>        apr_int64_t limited = 0;
>   @@ -1500,12 +1500,13 @@
>        cmd->override = OR_ALL|ACCESS_CONF;
>    
>        if (!strcmp(cmd->path, "~")) {
>   - cmd->path = ap_getword_conf(cmd->pool, &arg);
>   +        cmd->path = ap_getword_conf(cmd->pool, &arg);
>            if (!cmd->path)
>                return "<Directory ~ > block must specify a path";
>   +        r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);
>        }
>        else if (thiscmd->cmd_data) { /* <DirectoryMatch> */
>   - r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);
>   +        r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);
>        }
>        else if (!strcmp(cmd->path, "/") == 0) 
>        {
>   
>   
>   
> 

Mime
View raw message