summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-12-17 03:35:41 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-12-17 03:35:41 +0000
commite69a8b28474e9af69f940571f53c63183504030a (patch)
tree96eaf5fb2267eac9e38c6d3b93da25e275262f66 /file_io
parent5d6495260e530013d15a7cc718ce6d9b551b3028 (diff)
downloadlibapr-e69a8b28474e9af69f940571f53c63183504030a.tar.gz
Rename the apr_opendir symbol to apr_dir_open. This makes more sense,
and the rename was proposed a while ago inside of APR. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/os2/dir.c2
-rw-r--r--file_io/unix/dir.c2
-rw-r--r--file_io/win32/dir.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/file_io/os2/dir.c b/file_io/os2/dir.c
index 299a70c1e..3d9a47687 100644
--- a/file_io/os2/dir.c
+++ b/file_io/os2/dir.c
@@ -69,7 +69,7 @@ static apr_status_t dir_cleanup(void *thedir)
-apr_status_t apr_opendir(apr_dir_t **new, const char *dirname, apr_pool_t *cntxt)
+apr_status_t apr_dir_open(apr_dir_t **new, const char *dirname, apr_pool_t *cntxt)
{
apr_dir_t *thedir = (apr_dir_t *)apr_palloc(cntxt, sizeof(apr_dir_t));
diff --git a/file_io/unix/dir.c b/file_io/unix/dir.c
index 419c2f881..2b4d89c18 100644
--- a/file_io/unix/dir.c
+++ b/file_io/unix/dir.c
@@ -67,7 +67,7 @@ static apr_status_t dir_cleanup(void *thedir)
}
}
-apr_status_t apr_opendir(apr_dir_t **new, const char *dirname, apr_pool_t *cont)
+apr_status_t apr_dir_open(apr_dir_t **new, const char *dirname, apr_pool_t *cont)
{
/* On some platforms (e.g., Linux+GNU libc), d_name[] in struct
* dirent is declared with enough storage for the name. On other
diff --git a/file_io/win32/dir.c b/file_io/win32/dir.c
index 99dbd51b2..508781813 100644
--- a/file_io/win32/dir.c
+++ b/file_io/win32/dir.c
@@ -82,7 +82,7 @@ apr_status_t dir_cleanup(void *thedir)
return APR_SUCCESS;
}
-apr_status_t apr_opendir(apr_dir_t **new, const char *dirname, apr_pool_t *cont)
+apr_status_t apr_dir_open(apr_dir_t **new, const char *dirname, apr_pool_t *cont)
{
/* Note that we won't open a directory that is greater than MAX_PATH,
* including the trailing /* wildcard suffix. If a * won't fit, then