From d3c7e9de2823e072732fb9598502c4ebd2a1d0fb Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 1 May 2001 02:03:10 +0000 Subject: * 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. --- winsup/cygwin/shared_info.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/shared_info.h') 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); -- cgit v1.2.3