Source Activity

Syndicate content
Haiku's main repository
Updated: 5 min 51 sec ago

netresolv: use thread-safe version of res functions

Sun, 2015-07-05 11:26
* Make getaddrinfo() and friends thread-safe by using the thread-safe versions of the res functions. * NetBSD offers two versions of the res functions: one in res_state.c from the netresolv directory, defined as weak symbols. It is the legacy version and only for single-threaded applications. A thread-safe version of the functions is in res_state.c inside their libpthread directory. An application that uses pthreads on NetBSD will then use the non-weak symbols from the pthreads library. * On Haiku, the thread-safe version is now always used. The res_state.c is taken from NetBSD's libpthread directory, and then only struct _nres from the other file is added to it. Please keep this in mind for future updates of netresolv, do not accidentally replace it with the single-threaded version. * This e.g. fixes WebPositive just hanging when opening websites (even in situations where no IPv6-related problems apply), waiting forever to resolve names. * Make getaddrinfo() and friends thread-safe by using the thread-safe versions of the res functions. * NetBSD offers two versions of the res functions: one in res_state.c from the netresolv directory, defined as weak symbols. It is the legacy version and only for single-threaded applications. A thread-safe version of the functions is in res_state.c inside their libpthread directory. An application that uses pthreads on NetBSD will then use the non-weak symbols from the pthreads library. * On Haiku, the thread-safe version is now always used. The res_state.c is taken from NetBSD's libpthread directory, and then only struct _nres from the other file is added to it. Please keep this in mind for future updates of netresolv, do not accidentally replace it with the single-threaded version. * This e.g. fixes WebPositive just hanging when opening websites (even in situations where no IPv6-related problems apply), waiting forever to resolve names.
Categories: Development

disk device manager: Remove obsolete include path

Sun, 2015-07-05 07:39
virtualdrive hasn't been used for a long time. Should help with #12162. virtualdrive hasn't been used for a long time. Should help with #12162.
Categories: Development

build: Convert to external libedit build package

Sat, 2015-07-04 20:29
* Drop lib/edit and matching bsd header * Convert Debugger to libedit build package * Should solve problems with libedit consumers not defining _BSD_SOURCE * Progress on #10267 * Drop lib/edit and matching bsd header * Convert Debugger to libedit build package * Should solve problems with libedit consumers not defining _BSD_SOURCE * Progress on #10267
Categories: Development

BeDecorator: fix title text color

Sat, 2015-07-04 18:01
Categories: Development

WinDecorator: fix some glitches

Sat, 2015-07-04 17:53
* The decorator now draws the titlebar. * The titlebar is font sensitive. * The minimize button is usable. * The buttons are pressable. * Fix a redraw issue. * The decorator now draws the titlebar. * The titlebar is font sensitive. * The minimize button is usable. * The buttons are pressable. * Fix a redraw issue.
Categories: Development

Erratum hrev49359: Compare size with 0 rather that B_OK

Sat, 2015-07-04 15:22
Thanks Ingo! Thanks Ingo!
Categories: Development

Update translations from Pootle

Sat, 2015-07-04 04:35
Categories: Development

userlandfs: Fix access mask check

Fri, 2015-07-03 20:14
CID 1255052 and CID 1255053 CID 1255052 and CID 1255053
Categories: Development

NetBuffer: Check result of FlattenedSize() for error

Fri, 2015-07-03 18:31
CID 610923 CID 610923
Categories: Development

PDF Printer: Check FlattenedSize() result for error

Fri, 2015-07-03 18:27
CID 610903 CID 610903
Categories: Development

Deskbar: check dynamic_cast results

Fri, 2015-07-03 18:14
CID 1108236 and CID 1108237 CID 1108236 and CID 1108237
Categories: Development

mail_daemon DeskbarView: init fLastButtons

Fri, 2015-07-03 17:55
CID 610256 CID 610256
Categories: Development

GopherRequest: fixes for null dereference

Fri, 2015-07-03 17:35
CID 1249920 CID 1249920
Categories: Development

Cortex: fix for possible null-dereference

Fri, 2015-07-03 17:14
CID 600442 CID 600442
Categories: Development

jpeg translator: exif_parser: Missing break statement

Fri, 2015-07-03 15:30
CID 1273786 and CID 1273787 CID 1273786 and CID 1273787
Categories: Development