libprefs.so uses the private _klock_node_() syscall, and even loops until it

returns success - since this stub always returned failure, this prevented all
apps using that library (like Gobe Productive) from running.
It now calls the Haiku equivalent _kern_lock_node(), and Gobe now runs fine!
This closes bug #562.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22724 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-10-25 17:04:10 +00:00
parent ce78b3653a
commit fcfbb8aa6c
@@ -60,7 +60,7 @@ _kset_fd_limit_(int num)
int
_klock_node_(int fd)
{
return B_ERROR;
return _kern_lock_node(fd);
}