#7901: [patch] BLocale: B_ERROR gets returned from methods in the BLocale class ambiguously -----------------------------+------------------------------ Reporter: jscipione | Owner: pulkomandy Type: enhancement | Status: new Priority: normal | Milestone: Unscheduled Component: Kits/Locale Kit | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | -----------------------------+------------------------------ The problem that this enhancement ticket addresses is that B_ERROR gets returned from methods in the BLocale class in more than one instance so is ambiguous. The solution I came up with is to change the status returned from B_ERROR to B_WOULD_BLOCK in the case that locking fails. The provides for B_ERROR to be returned only in the case that some ICU error happened. This way if you get a B_ERROR you know that it comes from ICU and not possibly because locking failed. Some investigation is still needed to figure out which ICU error caused B_ERROR to be returned. -- Ticket URL: <http://dev.haiku-os.org/ticket/7901> Haiku <http://dev.haiku-os.org> Haiku - the operating system.