From fcfbb8aa6c82d9e1851b0584b43a838afe80949c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 25 Oct 2007 17:04:10 +0000 Subject: [PATCH] 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 --- src/system/libroot/os/arch/x86/compatibility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/libroot/os/arch/x86/compatibility.c b/src/system/libroot/os/arch/x86/compatibility.c index 976411ceb9..93cf92137f 100644 --- a/src/system/libroot/os/arch/x86/compatibility.c +++ b/src/system/libroot/os/arch/x86/compatibility.c @@ -60,7 +60,7 @@ _kset_fd_limit_(int num) int _klock_node_(int fd) { - return B_ERROR; + return _kern_lock_node(fd); }