From: sean Date: Sat, 06 May 2006 18:25:11 GMT Subject: Re: [PATCH] Another config file parsing fix. Message-ID: In-Reply-To: <20060506141402.3909cb37.seanlkml@sympatico.ca> On Sat, 6 May 2006 14:14:02 -0400 sean wrote: > If the variable we need to store should go into a section > that currently only has a single variable (not matching > the one we're trying to insert), we will already be into > the next section before we notice we've bypassed the correct > location to insert the variable. > > To handle this case we store the current location as soon > as we find a variable matching the section of our new > variable. > Sorry.. this should really be amended to mention that it was Linus who spotted the problem. Sean