summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2003-03-04 00:11:33 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2003-03-04 00:11:33 +0000
commit81a139efad380b5ab8c082f6bf165ff606c5124c (patch)
treef617d425572ddb4d10534d10dda5e1317fb0a217 /threadproc
parent147a953df796db557c6f92db8da7072f60c5757a (diff)
downloadlibapr-81a139efad380b5ab8c082f6bf165ff606c5124c.tar.gz
Default the current directory in the proc_attr structure since the NetWare OS
doesn't have a process shell that handles it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64395 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/netware/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/threadproc/netware/proc.c b/threadproc/netware/proc.c
index c093b6903..7b0b05bae 100644
--- a/threadproc/netware/proc.c
+++ b/threadproc/netware/proc.c
@@ -82,6 +82,8 @@ APR_DECLARE(apr_status_t) apr_procattr_create(apr_procattr_t **new,apr_pool_t *p
}
(*new)->pool = pool;
(*new)->cmdtype = APR_PROGRAM;
+ /* Default to a current path since NetWare doesn't handle it very well */
+ apr_filepath_get(&((*new)->currdir), APR_FILEPATH_NATIVE, pool);
/* (*new)->detached = 1;*/
return APR_SUCCESS;