httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@engelschall.com (Ralf S. Engelschall)
Subject Re: [PATCH] Config File Line Continuation (take 3)
Date Mon, 02 Mar 1998 14:39:55 GMT

In article <19980302151102.52337@deejai.mch.sni.de> you wrote:
> 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]?

Ops, yes. The correct line should read:
                    if (cp > cbuf && *(cp-1) == '\\' 
Thank's for the hint. Fixed.

>> +                    && !(cp > cbuf+1 && *(cp-2) == '\\')) {
>> +                    cbuf = --cp;

> Otherwise, +1.
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message