aboutsummaryrefslogtreecommitdiffstats
path: root/gendepslist2.cc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-03-10 15:38:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-03-10 15:38:28 +0000
commit660b32febf18a4bd6eda857f2bd302fcfb503bec (patch)
treee41e64435bba77f1c5468859b86e71b9013db1d2 /gendepslist2.cc
parent387d64f8465368a6c62c8009773107726b44c0b4 (diff)
downloadrpmtools-660b32febf18a4bd6eda857f2bd302fcfb503bec.tar
rpmtools-660b32febf18a4bd6eda857f2bd302fcfb503bec.tar.gz
rpmtools-660b32febf18a4bd6eda857f2bd302fcfb503bec.tar.bz2
rpmtools-660b32febf18a4bd6eda857f2bd302fcfb503bec.tar.xz
rpmtools-660b32febf18a4bd6eda857f2bd302fcfb503bec.zip
*** empty log message ***
Diffstat (limited to 'gendepslist2.cc')
-rw-r--r--gendepslist2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gendepslist2.cc b/gendepslist2.cc
index 4ca6696..f2508e6 100644
--- a/gendepslist2.cc
+++ b/gendepslist2.cc
@@ -283,7 +283,7 @@ void printDepslist(ofstream *out1, ofstream *out2) {
vector<string> put_first_ = split(' ', put_first);
vector<string> packages;
- int nb2hdlist[packages.size()];
+ int nb2hdlist[names.size()];
for (int i = 0; i < nb_hdlists; i++) {
set<string> list = hdlist2names[i];
while (list.begin() != list.end()) {