From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4822 invoked by alias); 14 Aug 2003 05:03:17 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 4814 invoked from network); 14 Aug 2003 05:03:15 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 14 Aug 2003 05:03:15 -0000 Received: by zenia.home (Postfix, from userid 5433) id 6B73E202C8; Thu, 14 Aug 2003 00:05:12 -0500 (EST) To: insight@sources.redhat.com Subject: Don't recognize 'option' in midst of prefs line From: Jim Blandy Date: Thu, 14 Aug 2003 05:03:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00095.txt.bz2 Does this look right? It seems like something similar should be done for the case immediately above this one, for section markers. But I don't really know enough about the official syntax of Windows config files to say for sure. 2003-08-13 Jim Blandy * library/prefs.tcl (pref_read): The word 'option' must be the first thing on the line; it doesn't count if it appears in the middle of the line. Index: gdb/gdbtk/library/prefs.tcl =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/prefs.tcl,v retrieving revision 1.27 diff -c -r1.27 prefs.tcl *** gdb/gdbtk/library/prefs.tcl 29 Jul 2003 22:08:10 -0000 1.27 --- gdb/gdbtk/library/prefs.tcl 14 Aug 2003 04:59:16 -0000 *************** *** 92,98 **** regexp {\[(.*)\]} $line match section } ! {[ \t\n]*option.*} { set line [string trimleft $line] eval $line } --- 92,98 ---- regexp {\[(.*)\]} $line match section } ! {^[ \t\n]*option.*} { set line [string trimleft $line] eval $line }