* 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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user