[haiku-development] Re: BPath::Append() resets the original path in case of failure.

  • From: Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 25 Feb 2009 17:23:13 +0100

2009/2/25 Stephan Aßmus <superstippi@xxxxxx>:
> Since also SetTo() returns an error, and it could be argued that it should
> not be destructive either, we may as well change that to behave more like
> one would expect. What do other think? The problem with such changes is that
> we don't really have the resources to check a lot of existing applications
> for the effect of such a change. :-\
> Best regards,
> -Stephan

Why would you want to break a well documented and existing API that
almost all apps use?

If you want to change it reimplement it in HPath or whatever the new
API will be and set this old API as deprecated.

/Fredrik Holmqvist, TQH

Other related posts: