commit libzypp for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp for openSUSE:Factory checked in at Mon Nov 2 18:09:30 CET 2009. -------- --- libzypp/libzypp.changes 2009-10-30 13:28:48.000000000 +0100 +++ /mounts/work_src_done/STABLE/libzypp/libzypp.changes 2009-11-02 17:20:03.000000000 +0100 @@ -1,0 +2,12 @@ +Mon Nov 2 16:35:33 CET 2009 - ma@suse.de + +- CheckAccessDeleted: Avoid reporting false positive due to insufficient + permission. + +------------------------------------------------------------------- +Mon Nov 2 13:59:33 CET 2009 - ma@suse.de + +- Don't try to access droplist of dropped products. (bnc #551697) +- version 6.21.2 (19) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- libzypp-6.21.1.tar.bz2 New: ---- libzypp-6.21.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.jm5oAc/_old 2009-11-02 18:08:00.000000000 +0100 +++ /var/tmp/diff_new_pack.jm5oAc/_new 2009-11-02 18:08:00.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package libzypp (Version 6.21.1) +# spec file for package libzypp (Version 6.21.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,7 +24,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on Summary: Package, Patch, Pattern, and Product Management -Version: 6.21.1 +Version: 6.21.2 Release: 1 Source: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc ++++++ libzypp-6.21.1.tar.bz2 -> libzypp-6.21.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-6.21.1/VERSION.cmake new/libzypp-6.21.2/VERSION.cmake --- old/libzypp-6.21.1/VERSION.cmake 2009-10-31 18:03:59.000000000 +0100 +++ new/libzypp-6.21.2/VERSION.cmake 2009-11-02 17:03:16.000000000 +0100 @@ -61,8 +61,8 @@ SET(LIBZYPP_MAJOR "6") SET(LIBZYPP_COMPATMINOR "19") SET(LIBZYPP_MINOR "21") -SET(LIBZYPP_PATCH "1") +SET(LIBZYPP_PATCH "2") # -# LAST RELEASED: 6.21.1 (19) +# LAST RELEASED: 6.21.2 (19) # (The number in parenthesis is LIBZYPP_COMPATMINOR) #======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-6.21.1/package/libzypp.changes new/libzypp-6.21.2/package/libzypp.changes --- old/libzypp-6.21.1/package/libzypp.changes 2009-10-31 18:03:59.000000000 +0100 +++ new/libzypp-6.21.2/package/libzypp.changes 2009-11-02 17:03:16.000000000 +0100 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Mon Nov 2 16:35:33 CET 2009 - ma@suse.de + +- CheckAccessDeleted: Avoid reporting false positive due to insufficient + permission. + +------------------------------------------------------------------- +Mon Nov 2 13:59:33 CET 2009 - ma@suse.de + +- Don't try to access droplist of dropped products. (bnc #551697) +- version 6.21.2 (19) + +------------------------------------------------------------------- Fri Oct 30 12:30:48 CET 2009 - ma@suse.de - Don't try to use an empty proxy string. (bnc #551314) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-6.21.1/zypp/misc/CheckAccessDeleted.cc new/libzypp-6.21.2/zypp/misc/CheckAccessDeleted.cc --- old/libzypp-6.21.1/zypp/misc/CheckAccessDeleted.cc 2009-10-31 18:03:58.000000000 +0100 +++ new/libzypp-6.21.2/zypp/misc/CheckAccessDeleted.cc 2009-11-02 17:03:15.000000000 +0100 @@ -92,16 +92,15 @@ } /** Add line to cache if it refers to a deleted executable or library file: - * - Either the link count \c(k) os \c 0, or no link cout is present. + * - Either the link count \c(k) is \c 0, or no link cout is present. * - The type \c (t) is set to \c REG or \c DEL * - The filedescriptor \c (f) is set to \c txt, \c mem or \c DEL */ inline void addCacheIf( CheckAccessDeleted::ProcInfo & cache_r, const std::string & line_r ) { - const char * k = "."; - const char * f = "."; - const char * t = "."; - const char * n = "."; + const char * f = 0; + const char * t = 0; + const char * n = 0; for_( ch, line_r.c_str(), ch+line_r.size() ) { @@ -110,7 +109,6 @@ case 'k': if ( *(ch+1) != '0' ) // skip non-zero link counts return; - k = ch+1; break; case 'f': f = ch+1; @@ -141,6 +139,9 @@ std::string name( n ); + if ( str::contains( n, "(stat: Permission denied)" ) ) + return; // Avoid reporting false positive due to insufficient permission. + if ( *f == 'm' || *f == 'D' ) // skip some wellknown nonlibrary memorymapped files { static const char * black[] = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-6.21.1/zypp/solver/detail/SATResolver.cc new/libzypp-6.21.2/zypp/solver/detail/SATResolver.cc --- old/libzypp-6.21.1/zypp/solver/detail/SATResolver.cc 2009-10-31 18:03:58.000000000 +0100 +++ new/libzypp-6.21.2/zypp/solver/detail/SATResolver.cc 2009-11-02 17:03:15.000000000 +0100 @@ -628,7 +628,11 @@ { if ( (*it)->onSystem() ) // (to install) or (not to delete) { - CapabilitySet droplist( (*it)->candidateAsKind<Product>()->droplist() ); + Product::constPtr prodCand( (*it)->candidateAsKind<Product>() ); + if ( ! prodCand ) + continue; // product no longer available + + CapabilitySet droplist( prodCand->droplist() ); dumpRangeLine( MIL << "Droplist for " << (*it)->candidateObj() << ": " << droplist.size() << " ", droplist.begin(), droplist.end() ) << endl; for_( cap, droplist.begin(), droplist.end() ) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de