haiku/headers
Axel Dörfler e52400cf24 * Fixed a race condition in the former _Detach*() functions: since atomic_get()
was used, two different threads could decide to share the same mutable string.
* Renamed some functions to make clearer what they do, ie. _Detach() is now
  called _MakeWritable().
* Cleaned up some questionable semantics, like the const char* parameter in
  _DetachWith() - you can now choose to copy the original string or not with
  a boolean. This also makes sure that the string is actually copied when it
  has to, which wasn't the case before (but that was no problem with the way
  that function was used).
* Made the header compliant with our style guide.
* Further cleanup.
* All BString related unit tests are passed, so I guess I didn't break too
  much :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-06 11:23:17 +00:00
..
build add spinlock initializer constant for BeOS 2009-02-09 19:06:44 +00:00
compatibility/bsd Added a strsep() to our BSD compatibility library. 2009-04-08 10:57:46 +00:00
cpp Preparations for removing __BEOS__ from the compiler defines. 2008-10-23 21:46:26 +00:00
glibc Prevent redefinition of _IO_MTSAFE_IO. It is defined when building the 2008-03-22 15:26:55 +00:00
gnu
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs updated libpng to 1.2.35 2009-04-06 19:33:30 +00:00
os * Fixed a race condition in the former _Detach*() functions: since atomic_get() 2009-06-06 11:23:17 +00:00
posix added lrint and llrint functions to math.h 2009-06-02 20:24:18 +00:00
private * vfs_boot.cpp now also exports gReadOnlyBootDevice which is true when the 2009-06-05 15:52:58 +00:00
tools * fix gcc4 build of cppunit library by explicitly spelling out std:: in 2009-05-02 19:04:52 +00:00