[zypp-commit] r9881 - /trunk/libzypp/zypp/ZConfig.cc
Author: mlandres Date: Tue Apr 29 13:32:51 2008 New Revision: 9881 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9881&view=rev Log: Fix order od initializer list Modified: trunk/libzypp/zypp/ZConfig.cc Modified: trunk/libzypp/zypp/ZConfig.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ZConfig.cc?rev=9881&r1=9880&r2=9881&view=diff ============================================================================== --- trunk/libzypp/zypp/ZConfig.cc (original) +++ trunk/libzypp/zypp/ZConfig.cc Tue Apr 29 13:32:51 2008 @@ -148,8 +148,8 @@ , repo_refresh_delay ( 10 ) , download_use_patchrpm ( true ) , download_use_deltarpm ( true ) + , solver_onlyRequires ( false ) , apply_locks_file ( true ) - , solver_onlyRequires ( false ) { MIL << "libzypp: " << VERSION << " built " << __DATE__ << " " << __TIME__ << endl; @@ -236,8 +236,8 @@ } else if ( entry == "solver.onlyRequires" ) { - solver_onlyRequires = str::strToBool( value, solver_onlyRequires ); - } + solver_onlyRequires = str::strToBool( value, solver_onlyRequires ); + } else if ( entry == "locksfile.path" ) { locks_file = Pathname(value); @@ -296,7 +296,7 @@ bool download_use_patchrpm; bool download_use_deltarpm; - bool solver_onlyRequires; + bool solver_onlyRequires; bool apply_locks_file; @@ -445,7 +445,7 @@ { return _pimpl->solver_onlyRequires; } Pathname ZConfig::locksFile() const - { + { return ( _pimpl->locks_file.empty() ? Pathname("/etc/zypp/locks") : _pimpl->locks_file ); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlandres@svn.opensuse.org