On Mon, 28 Apr 2008, Steven Dake wrote:
> This patch has been kicking around for trunk for some time but never
> merged.
>
> It is now being merged since it has undergone some pretty heavy
> community testing with Pacemaker.
>
> Regards
> -steve
>
Index: exec/objdb.c
===================================================================
--- exec/objdb.c (revision 1527)
+++ exec/objdb.c (working copy)
@@ -73,6 +73,7 @@
.mutex = PTHREAD_MUTEX_INITIALIZER
};
+
static int objdb_init (void)
{
unsigned int handle;
@@ -448,7 +449,7 @@
instance->find_child_list = &instance->child_head;
hdb_handle_put (&object_instance_database, object_handle);
- return (0);
+ return (found == 1 ? 0 : ENOENT);
error_exit:
return (-1);
All nice and dandy, but this hunk fails to build:
objdb.c: In function 'object_find_reset':
objdb.c:452: error: 'found' undeclared (first use in this function)
objdb.c:452: error: (Each undeclared identifier is reported only once
objdb.c:452: error: for each function it appears in.)
is this patch missing a bit or that's just a left over?
Fabio
--
I'm going to make him an offer he can't refuse.
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais