bnicholes 2003/03/03 16:11:33
Modified: threadproc/netware proc.c
Log:
Default the current directory in the proc_attr structure since the NetWare OS
doesn't have a process shell that handles it.
Revision Changes Path
1.25 +2 -0 apr/threadproc/netware/proc.c
Index: proc.c
===================================================================
RCS file: /home/cvs/apr/threadproc/netware/proc.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- proc.c 11 Feb 2003 23:47:09 -0000 1.24
+++ proc.c 4 Mar 2003 00:11:33 -0000 1.25
@@ -82,6 +82,8 @@
}
(*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;