[bugs:#822] Swapped origin and desc in some versions of Tango::Except::throw_exception.
Status: open
Created: Wed Oct 19, 2016 03:40 PM UTC by Josef Cibulka
Last Updated: Wed Oct 19, 2016 03:40 PM UTC
Owner: nobody
In except.h, origin and desc are sometimes swapped when being copied to the DevErrorList entry. For example, lines 490-491 are
errors[0].origin = CORBA::string_dup(desc);
errors[0].desc = CORBA::string_dup(origin.c_str());
The same occurs also on lines 697, 844, 1262, 1406, 1481 and 1636.
Regards,
Josef
Sent from sourceforge.net because Tango-cs...@lists.sf.net is subscribed to https://sourceforge.net/p/tango-cs/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tango-cs/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Fixed in SVN. Pull Request created on Github: https://github.com/tango-controls/cppTango/pull/305