Author: lslezak Date: Tue Apr 8 15:53:19 2008 New Revision: 46237 URL: http://svn.opensuse.org/viewcvs/yast?rev=46237&view=rev Log: - return -1 when Pkg::SourceCreate() with non-empty product directory fails (bnc#377962) Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Source_Create.cc Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bi... ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Tue Apr 8 15:53:19 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Apr 8 15:51:24 CEST 2008 - lslezak@suse.cz + +- return -1 when Pkg::SourceCreate() with non-empty product + directory fails (bnc#377962) + +------------------------------------------------------------------- Wed Apr 2 13:27:35 CEST 2008 - lslezak@suse.cz - changed callback registration - use references to functions Modified: trunk/pkg-bindings/src/Source_Create.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Create.cc... ============================================================================== --- trunk/pkg-bindings/src/Source_Create.cc (original) +++ trunk/pkg-bindings/src/Source_Create.cc Tue Apr 8 15:53:19 2008 @@ -714,6 +714,7 @@ y2error("SourceCreate for '%s' product '%s' has failed" , url.asString().c_str(), pn.asString().c_str()); _last_error.setLastError(ExceptionAsString(excpt)); + return YCPInteger(-1LL); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org