Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-08-26 19:11:06 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-08-26 19:11:06 +0400
commit63958f00d30431dbfce94ec07b27a3722e715549 (patch)
tree11d6b32847aa3ab1f1fcb87b537c77e96460e9c6 /winsup/cygwin/shared_info.h
parentdbeee890d4781642435c2348466a1d31ae70e0bd (diff)
* path.cc (normalize_posix_path): Keep two leading slashes
intact throughout. (normalize_win32_path): Revert to only checking for slash. (realpath): Convert drive letters to cygdrive paths before doing anything else. * shared_info.h (mount_info::cygdrive_posix_path): Make public.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index cfe222a72..d654ef1f9 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -90,6 +90,7 @@ class mount_info
int remove_cygdrive_info_from_registry (const char *cygdrive_prefix, unsigned flags);
int get_cygdrive_info (char *user, char *system, char* user_flags,
char* system_flags);
+ void cygdrive_posix_path (const char *src, char *dst, int trailing_slash_p);
private:
@@ -99,7 +100,6 @@ class mount_info
void to_registry ();
int cygdrive_win32_path (const char *src, char *dst, int& unit);
- void cygdrive_posix_path (const char *src, char *dst, int trailing_slash_p);
void read_cygdrive_info_from_registry ();
};