char	name[MAX_TEMPSTR], val[MAX_ENVSTR];
char	name[MAX_ENVSTR], val[MAX_ENVSTR];
load_env(envstr, f)	char	*envstr;	FILE	*f;{	long	filepos;	int	fileline;	char	name[MAX_TEMPSTR], val[MAX_ENVSTR];	int	fields;	filepos = ftell(f);	fileline = LineNumber;	skip_comments(f);	if (EOF == get_string(envstr, MAX_ENVSTR, f, "\n"))		return (ERR);	Debug(DPARS, ("load_env, read <%s>\n", envstr))	name[0] = val[0] = '\0';	fields = sscanf(envstr, "%[^ =] = %[^\n#]", name, val);	if (fields != 2) {		Debug(DPARS, ("load_env, not 2 fields (%d)\n", fields))		fseek(f, filepos, 0);		Set_LineNum(fileline);		return (FALSE);	}	/* 2 fields from scanf; looks like an env setting	 */	/*	 * process value string	 */	/*local*/{		int	len = strdtb(val);		if (len >= 2) {			if (val[0] == '\'' || val[0] == '"') {				if (val[len-1] == val[0]) {					val[len-1] = '\0';					(void) strcpy(val, val+1);				}			}		}	}	(void) sprintf(envstr, "%s=%s", name, val);	Debug(DPARS, ("load_env, <%s> <%s> -> <%s>\n", name, val, envstr))	return (TRUE);}