[haiku-commits] Re: r42605 - haiku/trunk/src/kits/locale

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 09 Aug 2011 19:43:37 +0200

pulkomandy@xxxxxxxxxxxxxxxxx wrote:
> Log:
> Patch by John Scipione : use B_WOULD_BLOCK when locking fails, to 
> avoid
> returning B_ERROR like when there's an ICU error.

B_WOULD_BLOCK doesn't make any sense, though. Why should it be 
important to return a different error code, anyway? ICU error codes 
should be improved if possible, but a locking error should, well, never 
happen anyway, unless you manually delete its semaphore.

Bye,
   Axel.


Other related posts: