summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-09-09 06:03:05 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-09-09 06:03:05 +0000
commit4c2e72e228c29b3ef69ea89563de8d47eb663de5 (patch)
tree2bfd46d5bb54ee12ff41ac1f18e8794f951f54d5 /test
parent55352cd4142c2c65f109f1f3a8ca85d8b9a804db (diff)
downloadlibapr-4c2e72e228c29b3ef69ea89563de8d47eb663de5.tar.gz
Fix the apr_proc_create for win32. In order to do so, this patch
introduces a flags arg for apr_filepath_get(), like apr_filepath_merge(), that allows the APR_FILEPATH_NATIVE result format. This launches win32 processes with the Unicode semantics (although it runs sbcs apps equally well) and changes the default to 'not detached', in sync with the unix default. Finally, assures apr_filepath_get() uses the '/' semantics on OS2 by default. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62296 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/testmmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmmap.c b/test/testmmap.c
index 0aafd43e6..c7111c368 100644
--- a/test/testmmap.c
+++ b/test/testmmap.c
@@ -99,7 +99,7 @@ int main(void)
}
fprintf(stdout,"OK\n");
- apr_filepath_get(&file1, context);
+ apr_filepath_get(&file1, 0, context);
file1 = apr_pstrcat(context,file1,"/testmmap.c",NULL);
fprintf(stdout, "Opening file........................");