Author: doogie
Date: 2003-04-24 03:16:58 GMT
Fix origin pins for file:// uris.
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: versionmatch.cc,v 1.7 2002/11/06 06:43:14 jgg Exp $
+// $Id: versionmatch.cc,v 1.8 2003/04/24 03:16:58 doogie Exp $
/* ######################################################################
Version Matching
/* ######################################################################
Version Matching
- if (OrSite.empty() == false)
- if (File->Site == 0 ||
- OrSite != File.Site())
- return false;
- return true;
+ if (!strcmp(File.Archive(), "now")) /* ignore local "status" file */
+ return false;
+ return (OrSite == File.Site()); /* both strings match */
* Change http message 'Waiting for file' to 'Waiting for headers'.
Closes: #178537
* Remove trailing lines on package lists in apt-get. Closes: #178736.
* Change http message 'Waiting for file' to 'Waiting for headers'.
Closes: #178537
* Remove trailing lines on package lists in apt-get. Closes: #178736.
+ * Fix origin pins for file:// uris. Closes: #189014.
-- Adam Heath <doogie@debian.org> Sun, 02 Feb 2003 02:54:45 -0600
-- Adam Heath <doogie@debian.org> Sun, 02 Feb 2003 02:54:45 -0600