httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject Re: [PATCH] Config File Line Continuation (take 3)
Date Mon, 02 Mar 1998 14:11:02 GMT
On Mon, Mar 02, 1998 at 10:10:43AM +0100, Ralf S. Engelschall wrote:
> +            if (cp > cbuf && *(cp-1) == LF) {
> +                cp--;
> +                if (cp > cbuf && *(cp-1) == CR)
> +                    cp--;
> +                if (cp > cbuf && *(cp-2) == '\\' 
					 ^Isn't this a cp[-1]?
> +                    && !(cp > cbuf+1 && *(cp-2) == '\\')) {
> +                    cbuf = --cp;

Otherwise, +1.

    Martin
-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message