Author: jfrederic.clere(a)jboss.com
Date: 2007-10-14 06:04:14 -0400 (Sun, 14 Oct 2007)
New Revision: 1111
Modified:
trunk/sight/native/configure.in
trunk/sight/native/os/solaris/module.c
trunk/sight/native/share/library.c
Log:
Get the solaris port running.
Modified: trunk/sight/native/configure.in
===================================================================
--- trunk/sight/native/configure.in 2007-10-14 08:23:17 UTC (rev 1110)
+++ trunk/sight/native/configure.in 2007-10-14 10:04:14 UTC (rev 1111)
@@ -171,6 +171,7 @@
case $host in
*-solaris2*)
APR_ADDTO(SIGHT_LIBS, -lkstat)
+ APR_ADDTO(SIGHT_LIBS, -lproc)
;;
*)
;;
Modified: trunk/sight/native/os/solaris/module.c
===================================================================
--- trunk/sight/native/os/solaris/module.c 2007-10-14 08:23:17 UTC (rev 1110)
+++ trunk/sight/native/os/solaris/module.c 2007-10-14 10:04:14 UTC (rev 1111)
@@ -165,11 +165,11 @@
if (pid >= 0)
mpid = pid;
- if ((rc = sight_create_pool(&pool, sight_temp_pool)) != APR_SUCCESS) {
+ if ((rc = sight_pool_create(&pool, NULL, sight_temp_pool, 0)) != APR_SUCCESS) {
throwAprMemoryException(_E, THROW_FMARK, rc);
return NULL;
}
- ph = Pgrab(pid, 0, &ret);
+ ph = Pgrab(mpid, 0, &ret);
if (ph == NULL) {
throwOSException(_E, Pgrab_error(ret));
apr_pool_destroy(pool);
Modified: trunk/sight/native/share/library.c
===================================================================
--- trunk/sight/native/share/library.c 2007-10-14 08:23:17 UTC (rev 1110)
+++ trunk/sight/native/share/library.c 2007-10-14 10:04:14 UTC (rev 1111)
@@ -156,7 +156,7 @@
}
}
-SIGHT_EXPORT_DECLARE(jboolean, Library, initialize0)(SIGHT_STDARGS)
+SIGHT_EXPORT_DECLARE(jboolean, Library, initialize)(SIGHT_STDARGS)
{
UNREFERENCED_STDARGS;