You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew Wilson <a....@elsevier.co.uk> on 1997/06/23 14:24:25 UTC

Re: cvs commit: apache/src CHANGES mod_dir.c

Is that double line intentional?  It appears in 2 parts of the patch.

  +             char *val;
  +             val = getword (cmd->pool, &x, '=');
  +             val = getword (cmd->pool, &x, '=');

Ay.


Rodent of Unusual Size:
> 
> coar        97/06/23 04:36:58
> 
>   Modified:    src       CHANGES mod_dir.c
>   Log:
>   	Add IconHeight and IconWidth to mod_dir's IndexOptions
>   	directive.  These allow the specification of HEIGHT and
>   	WIDTH attributes in the IMG tags emitted when FancyIndexing
>   	is enabled.
>   
>   Reviewed by:	Randy Terbush, Sameer Parekh
>   
>   Revision  Changes    Path
>   1.288     +4 -0      apache/src/CHANGES

[snip]

>   *** 209,214 ****
>   --- 218,247 ----
>                 opts |= SUPPRESS_DESC;
>             else if(!strcasecmp(w,"None"))
>                 opts = 0;
>   + 	else if (! strncasecmp (w, "IconWidth", 9)) {
>   + 	    if (strchr (w, '=') != NULL) {
>   + 		const char *x = pstrdup (cmd->pool, w);
>   + 		char *val;
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		d_cfg->icon_width = atoi(val);
>   + 	    }
>   + 	    else {
>   + 		d_cfg->icon_width = DEFAULT_ICON_WIDTH;
>   + 	    }
>   + 	}
>   + 	else if (! strncasecmp (w, "IconHeight", 10)) {
>   + 	    if (strchr (w, '=') != NULL) {
>   + 		const char *x = pstrdup (cmd->pool, w);
>   + 		char *val;
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		val = getword (cmd->pool, &x, '=');
>   + 		d_cfg->icon_height = atoi(val);
>   + 	    }
>   + 	    else {

[snip]