HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed478d8
)
* fix segfault when there is no Archive for a VerFile
author
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 19 Oct 2005 12:34:19 +0000
(12:34 +0000)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 19 Oct 2005 12:34:19 +0000
(12:34 +0000)
cmdline/apt-get.cc
patch
|
blob
|
blame
|
history
diff --git
a/cmdline/apt-get.cc
b/cmdline/apt-get.cc
index
82f2021
..
3ffb740
100644
(file)
--- a/
cmdline/apt-get.cc
+++ b/
cmdline/apt-get.cc
@@
-1227,7
+1227,7
@@
pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
continue;
//std::cout << VF.File().Archive() << std::endl;
- if(VF.File().Archive()
== DefRel
)
+ if(VF.File().Archive()
&& (VF.File().Archive() == DefRel)
)
{
VerTag = Ver.VerStr();
break;