diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2000-10-05 17:32:44 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2000-10-05 17:32:44 +0000 |
commit | 9f434f9d3bb11ae0fb45e6652bc6f60456b1c824 (patch) | |
tree | d4245924d78c24f2ac122e49752677fe2c9028c4 /threadproc/os2 | |
parent | 3cd3df94fc94e60d16880a5d9e5c0b1b1a5bbc07 (diff) | |
download | libapr-9f434f9d3bb11ae0fb45e6652bc6f60456b1c824.tar.gz |
The lots of little ones... APR_IS_STATUS_condition(rv) conditional macros
replacing the majority of fallible rv == APR_condition tests. But there
are lots more to fix, these are the obvious ones that already did proper
canonical error conversion.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60547 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r-- | threadproc/os2/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c index 0005ee21e..4a88675cc 100644 --- a/threadproc/os2/proc.c +++ b/threadproc/os2/proc.c @@ -350,7 +350,7 @@ apr_status_t apr_create_process(apr_proc_t *proc, const char *progname, } else if (stricmp(extension, ".exe") != 0) { status = apr_open(&progfile, progname, APR_READ|APR_BUFFERED, 0, cont); - if (status != APR_SUCCESS && apr_canonical_error(status) == APR_ENOENT) { + if (status != APR_SUCCESS && APR_STATUS_IS_ENOENT(status)) { progname = apr_pstrcat(cont, progname, ".exe", NULL); } |