diff options
author | Christopher Faylor <me@cgf.cx> | 2001-05-01 02:03:10 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-05-01 02:03:10 +0000 |
commit | d3c7e9de2823e072732fb9598502c4ebd2a1d0fb (patch) | |
tree | 1e31cc2d08c1d85147d3204b4aab55d7a3ed7d9e /winsup/cygwin/shared_info.h | |
parent | 57ff940dd40a53ec03e5f2b079239b41bd9c2859 (diff) | |
download | cygnal-d3c7e9de2823e072732fb9598502c4ebd2a1d0fb.tar.gz cygnal-d3c7e9de2823e072732fb9598502c4ebd2a1d0fb.tar.bz2 cygnal-d3c7e9de2823e072732fb9598502c4ebd2a1d0fb.zip |
* path.cc (mkrelpath): New function.
(mount_info::conv_to_win32_path): Eliminate now-unneeded relative path name arg
and processing.
(path_conv::check): Accomodate relative path names again. Accomodate one extra
argument in mount_info::conv_to_win32_path. Tack trailing slash on end of
relative path as a side effect, like before.
* shared_info.h (mount_info::conv_to_win32_path): Reflect new argument
ordering.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r-- | winsup/cygwin/shared_info.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index 01e1e2bfd..efda1c3f7 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -76,9 +76,8 @@ public: int del_reg_mount (const char * posix_path, unsigned mountflags); unsigned set_flags_from_win32_path (const char *path); - int conv_to_win32_path (const char *src_path, char *win32_path, - char *full_win32_path, DWORD &devn, int &unit, - unsigned *flags = NULL); + int conv_to_win32_path (const char *src_path, char *dst, DWORD &devn, + int &unit, unsigned *flags = NULL); int conv_to_posix_path (const char *src_path, char *posix_path, int keep_rel_p); struct mntent *getmntent (int x); |