[interfacekit] Re: A patch for BString

> 
> Sorry, I should have explained that change with more detail. My thinking was 
> that with my patch I tried to enhance BString while strictly following R5 
> API, behaviour and documentation (unless there are clear bugs). 
> Since the R5-documentation states that the (I)Find...-methods only ever 
> return B_ERROR as a negative return-value, I thought it'd be best to do just 
> that. Otherwise R5-applications could misbehave/crash if they get B_BAD_VALUE 
> when they expect B_ERROR. 

Yes, but the only cases where they can get B_BAD_VALUE are where they supply a
NULL string, and they would crash anyway, so the problem doesn't exist :)




Other related posts: