[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#192403: apt: patch for this



Package: apt
Version: 0.5.5
Followup-For: Bug #192403

Here is a patch that works for me(tm):

the interface of pkgTagSection::Scan changed from return type bool
to an enum, but you still check for "==false".
You should instead check for the enum value in apt-cache.cc:484:
   if (Tags.Scan(Buffer+Jitter,VF.Size+1) != pkgTagSection::ScanSuccess ||


Cheers, Bastian

PS: its nice to see some progress in apt again, keep up the good work ;)

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux treasure 2.4.20-treasure3 #1 Sun Apr 27 14:36:32 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro

Versions of packages apt depends on:
hi  libc6                        2.3.1-17    GNU C Library: Shared libraries an
ii  libgcc1                      1:3.3-0pre8 GCC support library
ii  libstdc++5                   1:3.3-0pre8 The GNU Standard C++ Library v3

-- no debconf information




Reply to: