summaryrefslogtreecommitdiff
path: root/include/apr_file_info.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-09-09 06:03:05 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-09-09 06:03:05 +0000
commitca38c6739721bb5f78005da21bd7ca6499c1e1c7 (patch)
tree2bfd46d5bb54ee12ff41ac1f18e8794f951f54d5 /include/apr_file_info.h
parent7aa400295c6466171d9154c726e6f9b636877979 (diff)
downloadapr-ca38c6739721bb5f78005da21bd7ca6499c1e1c7.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: https://svn.apache.org/repos/asf/apr/apr/trunk@62296 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_file_info.h')
-rw-r--r--include/apr_file_info.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/apr_file_info.h b/include/apr_file_info.h
index efd2ec8a2..f057b7013 100644
--- a/include/apr_file_info.h
+++ b/include/apr_file_info.h
@@ -357,10 +357,13 @@ APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
* Return the default file path (for relative file names)
* @ingroup apr_filepath
* @param path the default path string returned
+ * @param flags optional flag APR_FILEPATH_NATIVE to retrieve the
+ * default file path in os-native format.
* @param p the pool to allocate the default path string from
- * @deffunc apr_status_t apr_filepath_get(char **path, apr_pool_t *p)
+ * @deffunc apr_status_t apr_filepath_get(char **path, apr_int32_t flags, apr_pool_t *p)
*/
-APR_DECLARE(apr_status_t) apr_filepath_get(char **path, apr_pool_t *p);
+APR_DECLARE(apr_status_t) apr_filepath_get(char **path, apr_int32_t flags,
+ apr_pool_t *p);
/**
* Set the default file path (for relative file names)