steve@jplgodo.UUCP (08/07/86)
In param.c, when the ua-config file is being scanned and a value of type STR is encountered, it checks for a " as the first character in the value. The variable canon is set true if a " is ecountered and this is used to determine whether to scan to a closing " or to a white space or null. Unfortunately, canon is not set to false if the first character is not a ". This leads to some rather exotic loops. A diff of my fix follows: ---------------------------------------------------------------------- 141,144c141,142 < if (line[pos] == '"') { < canon = 1; < pos++; < } --- > canon = (line[pos] == '"'); > if (canon) pos++; -- ...smeagol\ Steve Schlaifer ......wlbr->!jplgodo!steve Advance Projects Group, Jet Propulsion Labs ....logico/ 4800 Oak Grove Drive, M/S 156/204 Pasadena, California, 91109 +1 818 354 3171