rbb 01/01/21 08:27:07
Modified: file_io/unix filestat.c
include apr_file_io.h
Log:
Backout apr_get_filename_case.
Revision Changes Path
1.36 +0 -13 apr/file_io/unix/filestat.c
Index: filestat.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/filestat.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -b -w -u -r1.35 -r1.36
--- filestat.c 2001/01/20 22:18:52 1.35
+++ filestat.c 2001/01/21 16:27:07 1.36
@@ -208,16 +208,3 @@
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;
-}
1.91 +0 -4 apr/include/apr_file_io.h
Index: apr_file_io.h
===================================================================
RCS file: /home/cvs/apr/include/apr_file_io.h,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -b -w -u -r1.90 -r1.91
--- apr_file_io.h 2001/01/20 22:18:55 1.90
+++ apr_file_io.h 2001/01/21 16:27:07 1.91
@@ -527,10 +527,6 @@
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