summaryrefslogtreecommitdiff
path: root/threadproc/os2
diff options
context:
space:
mode:
authordougm <dougm@13f79535-47bb-0310-9956-ffa450edef68>2000-04-28 18:27:49 +0000
committerdougm <dougm@13f79535-47bb-0310-9956-ffa450edef68>2000-04-28 18:27:49 +0000
commita074fb1bb4e9de1078b1194ffe18e6d4273bf866 (patch)
treed5017fa34a4cd51b2b8fc153955b889c245670d6 /threadproc/os2
parentfc5da149691b413c7a68cf3f889c04cdaa6324f9 (diff)
downloadlibapr-a074fb1bb4e9de1078b1194ffe18e6d4273bf866.tar.gz
back out APR_ prefix for TRUE,FALSE
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r--threadproc/os2/proc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c
index 726fbf5f0..6fc0f755a 100644
--- a/threadproc/os2/proc.c
+++ b/threadproc/os2/proc.c
@@ -88,7 +88,7 @@ ap_status_t ap_createprocattr_init(ap_procattr_t **new, ap_pool_t *cont)
(*new)->child_err = NULL;
(*new)->currdir = NULL;
(*new)->cmdtype = APR_PROGRAM;
- (*new)->detached = APR_FALSE;
+ (*new)->detached = FALSE;
return APR_SUCCESS;
}
@@ -177,13 +177,13 @@ ap_status_t ap_fork(ap_proc_t **proc, ap_pool_t *cont)
} else if (pid == 0) {
(*proc)->pid = pid;
(*proc)->attr = NULL;
- (*proc)->running = APR_TRUE;
+ (*proc)->running = TRUE;
return APR_INCHILD;
}
(*proc)->pid = pid;
(*proc)->attr = NULL;
- (*proc)->running = APR_TRUE;
+ (*proc)->running = TRUE;
return APR_INPARENT;
}
@@ -226,7 +226,7 @@ ap_status_t ap_create_process(ap_proc_t **new, const char *progname,
char **newargs;
char savedir[300];
HFILE save_in, save_out, save_err, dup;
- int criticalsection = APR_FALSE;
+ int criticalsection = FALSE;
char *extension, *newprogname, *extra_arg = NULL, *cmdline, *cmdline_pos;
char interpreter[1024];
char error_object[260];
@@ -242,11 +242,11 @@ ap_status_t ap_create_process(ap_proc_t **new, const char *progname,
}
(*new)->cntxt = cont;
- (*new)->running = APR_FALSE;
+ (*new)->running = FALSE;
/* Prevent other threads from running while these process-wide resources are modified */
if (attr->child_in || attr->child_out || attr->child_err || attr->currdir) {
- criticalsection = APR_TRUE;
+ criticalsection = TRUE;
DosEnterCritSec();
}