lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Trouble With Proxy-Server


From: pg
Subject: Re: lynx-dev Trouble With Proxy-Server
Date: Tue, 10 Nov 1998 16:40:20 -0700 (MST)

In a recent note, Philip Webb said:

> Date: Tue, 10 Nov 1998 17:41:45 -0500 (EST)
> 
> shouldn't Lynx treat only Space+Hyphen as starting a new switch,
> but not simply Hyphen not preceded immediately by Space?
> is it difficult to fix?  where should i look in the source?
> 
Start in LYMain.c:

/*
 * This function performs a string comparison on two strings a and b.  a is
 * assumed to be an ordinary null terminated string, but b may be terminated
 * by an '=', '+' or '-' character.  If terminated by '=', *c will be pointed
 * to the character following the '='.  If terminated by '+' or '-', *c will
 * be pointed to that character.  (+/- added for toggle processing - BL.)
 * If a and b match, it returns 1.  Otherwise 0 is returned.
 */
static int arg_eqs_parse ARGS3(
        CONST char *,   a,
        char *,         b,
        char **,        c)

Presumably, what you want is _not_ to terminate an argument with a '-'
as described in the comment.

-- gil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]