[openbeos] Re: Two small fixes for the BString tests

  • From: Daniel Furrer <daniel_furrer@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 08 Jul 2004 12:46:38 +0200

Stefano Ceccherini wrote:

<> Thanks for your work, though I am not sure about applying this patch.

It's true that that option isn't supported, but we should test the two cases (with true and false) neverthless, to be sure that they both behave correctly, moreover the fact that it's not supported for now doesn't mean it won't be supported in the future :)

It would not be nice if someone called Truncate(10, false) and bad thing happened, and we couldn't notice because we don't have a test for it.


Oh, I'm sorry, I just noticed that this is a post R5 feature..
I was using Zeta, which I think doesn't support that flag, so it gave me a linker error and I wrongly assumed, that this flag doesn't exist at all (since I didn't find it in the Zeta BString headers).
Actually I wanted to fix some of the errors during compilation, but as it turns out, this is
Not A Good Idea on Zeta, since there are some small differences which cause this errors.
(like the removal of this flag, or the change of some argument from char* to constr char* [see BMessage:GetInfo()])
So it liiks like I have to find another activity for my free time, being bored and wanting to do something for Haiku ;)


cya,
Daniel Furrer

Other related posts: