Author: jgg
Date: 2001-03-04 00:44:35 GMT
Fixed the resetting of Dir with "dir {};". Closes: #87323
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: configuration.cc,v 1.16 2001/03/03 23:29:55 jgg Exp $
+// $Id: configuration.cc,v 1.17 2001/03/04 00:44:35 jgg Exp $
/* ######################################################################
Configuration Class
/* ######################################################################
Configuration Class
// Parse off the word
string Word;
// Parse off the word
string Word;
if (ParseCWord(Pos,Word) == false &&
ParseQuoteWord(Pos,Word) == false)
{
if (ParseCWord(Pos,Word) == false &&
ParseQuoteWord(Pos,Word) == false)
{
}
if (strlen(Pos) != 0)
return _error->Error(_("Syntax error %s:%u: Extra junk after value"),FName.c_str(),CurLine);
}
if (strlen(Pos) != 0)
return _error->Error(_("Syntax error %s:%u: Extra junk after value"),FName.c_str(),CurLine);
else
{
// Set the item in the configuration class
else
{
// Set the item in the configuration class
+ if (NoWord == false)
+ Conf.Set(Item,Word);
* Some instances where the status file can source a package in a
non-sensical way. Closes: #87390
* Work better if there are duplicate sources.list entries.
* Some instances where the status file can source a package in a
non-sensical way. Closes: #87390
* Work better if there are duplicate sources.list entries.
+ * Fixed the resetting of Dir with "dir {};". Closes: #87323
-- Jason Gunthorpe <jgg@debian.org> Thu, 22 Feb 2001 00:39:15 -0500
-- Jason Gunthorpe <jgg@debian.org> Thu, 22 Feb 2001 00:39:15 -0500