[haiku-development] Re: [PATCH] libroot improvements

Hey,
Stephan Aßmus pisze:

Unfortunately, my "tests" didn't go so well. I am getting crashes in fputs() (flex) and app_server was crashing in vsprintf() (FontCacheEntry::GenerateSignature()). I changed the FontCacheEntry code to use snprintf() instead of sprintf(), just in case it would overwrite the buffer or something. But the flex crashes in fputs() remain. Didn't test long enough to see if the vsprintf() app_server crash is gone. Another thing I could reproduce is when resizing the Terminal window, the whole Terminal app would suddenly disappear. No crash report, no entry in Deskbar left, just spontaneous death.
Strange, app_server never crashed for me, but for Terminal, you were right :/ After reverting changes in Errors.h and adding only 4 defines from libc, all problems seems to vanish :)

fixed patch:
http://hitomi.pl/haiku/patches/libc_fixed.patch.7z
or if you have previous one, just delete Errors.h; svn up it and apply patch from here http://hitomi.pl/haiku/patches/Errors.patch :)


But it does seem to launch quicker. Real hardware, Core 2 Duo chip.

Best regards,
-Stephan



regards, aljen

Other related posts: