diff options
author | Christopher Faylor <me@cgf.cx> | 2001-06-04 01:28:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-06-04 01:28:09 +0000 |
commit | ac5561f2ed95d2ffcb81723d9556aadc1768ca04 (patch) | |
tree | dcac3dbe7a95d896583c184f7de830ad0b9ddc2f /winsup/cygwin/cygheap.h | |
parent | 9f13167f7789db27d1090a78c847f5a0e81e01f6 (diff) | |
download | cygnal-ac5561f2ed95d2ffcb81723d9556aadc1768ca04.tar.gz cygnal-ac5561f2ed95d2ffcb81723d9556aadc1768ca04.tar.bz2 cygnal-ac5561f2ed95d2ffcb81723d9556aadc1768ca04.zip |
* path.cc (normalize_posix_path): Revert .. check removed by previous changes.
* cygheap.h: Temporarily declare path_prefix_p here.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index cc953a764..6348590a2 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -46,6 +46,9 @@ struct cygheap_root_mount_info unsigned native_pathlen; }; +/* CGF: FIXME This doesn't belong here */ + +int path_prefix_p (const char *path1, const char *path2, int len1) __attribute__ ((regparm (3))); class cygheap_root { /* Root directory information. @@ -55,7 +58,6 @@ class cygheap_root public: bool posix_ok (const char *path) { - extern int path_prefix_p (const char *, const char *, int); if (!m) return 1; return path_prefix_p (m->posix_path, path, m->posix_pathlen); |