* Michael Andres
On Monday 20 October 2008 15:30:48 kkaempf@svn.opensuse.org wrote:
Log: fix Dataiterator_init call
Modified: trunk/libzypp/zypp/repo/PackageDelta.cc
Modified: trunk/libzypp/zypp/repo/PackageDelta.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/repo/PackageDelta.c c?rev=11408&r1=11407&r2=11408&view=diff =========================================================================== === --- trunk/libzypp/zypp/repo/PackageDelta.cc (original) +++ trunk/libzypp/zypp/repo/PackageDelta.cc Mon Oct 20 15:30:48 2008 @@ -36,7 +36,7 @@ { MIL << "creating deltarpm from repo " << repo.alias() << ", id " << extraid << endl;
::Dataiterator di;
- ::dataiterator_init(&di, repo.get(), extraid, 0, 0, 0); + ::dataiterator_init(&di, NULL, repo.get(), extraid, 0, 0, 0);
Don't fix it that way. dataiterator_init segfaults with a NULL pool.
Sorry. Then *please* lets fix dataiterator_init to get fetch repo->pool if pool is NULL. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org