summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-01-21 16:27:07 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-01-21 16:27:07 +0000
commit7a5bfc8f62e1cebfff1eac2a0d0ac638c0c1642c (patch)
treec2af41c45d17362f15e14940fcd36e816afb2fce
parent212ff9e9968b4ec2cfbe00a42e638cde3de2dc50 (diff)
downloadlibapr-7a5bfc8f62e1cebfff1eac2a0d0ac638c0c1642c.tar.gz
Backout apr_get_filename_case.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61091 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--file_io/unix/filestat.c13
-rw-r--r--include/apr_file_io.h4
2 files changed, 0 insertions, 17 deletions
diff --git a/file_io/unix/filestat.c b/file_io/unix/filestat.c
index cbcba106e..1c38f6987 100644
--- a/file_io/unix/filestat.c
+++ b/file_io/unix/filestat.c
@@ -208,16 +208,3 @@ apr_status_t apr_lstat(apr_finfo_t *finfo, const char *fname,
return apr_stat(finfo, fname, wanted | APR_FINFO_LINK, cont);
}
-/* XXX: This is wrong for case-insensitive, case-preserving mount points.
- * Unfortuantely, I don't have a clue about tweaking this code for unix,
- * other than the basic stratagy of stat, then walk dirread for dev/inode.
- */
-APR_DECLARE(apr_status_t) apr_get_filename_case(const char **fname,
- const char *fspec,
- apr_pool_t *cont)
-{
- *fname = strrchr(fspec, '/');
- if (!*fname)
- *fname = fspec;
- return APR_SUCCESS;
-}
diff --git a/include/apr_file_io.h b/include/apr_file_io.h
index 4202bc549..d6aef2ef5 100644
--- a/include/apr_file_io.h
+++ b/include/apr_file_io.h
@@ -527,10 +527,6 @@ APR_DECLARE(apr_status_t) apr_getfileinfo(apr_finfo_t *finfo,
apr_int32_t wanted,
apr_file_t *thefile);
-APR_DECLARE(apr_status_t) apr_get_filename_case(const char **fname,
- const char *fspec,
- apr_pool_t *cont);
-
#ifdef __cplusplus
}
#endif