clar 2004/07/09 13:29:05
Modified: threadproc/netware proc.c
Log:
Added bit mask operation for detach and addrspace fields to make possible
overloading on fcts parameter.
Revision Changes Path
1.30 +2 -2 apr/threadproc/netware/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apr/threadproc/netware/proc.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- proc.c 14 Jun 2004 17:26:19 -0000 1.29
+++ proc.c 9 Jul 2004 20:29:05 -0000 1.30
@@ -179,7 +179,7 @@
APR_DECLARE(apr_status_t) apr_procattr_detach_set(apr_procattr_t *attr,
apr_int32_t detach)
{
- attr->detached = detach;
+ attr->detached = (detach & 1);
return APR_SUCCESS;
}
@@ -268,7 +268,7 @@
APR_DECLARE(apr_status_t) apr_procattr_addrspace_set(apr_procattr_t *attr,
apr_int32_t addrspace)
{
- attr->addrspace = addrspace;
+ attr->addrspace = (addrspace & 2);
return APR_SUCCESS;
}