* path.h (path_conv::set_normalized_path): Add second argument and fill it in

throughout.
* path.cc (path_conv::check): Declare, set and use "strip_tail".
(path_conv::set_normalized_path): Add and use second argument, replacing all
tail stripping tests.
This commit is contained in:
Christopher Faylor
2004-12-23 21:37:44 +00:00
parent 7a2ba9dbec
commit 861ef99725
5 changed files with 34 additions and 22 deletions

View File

@@ -214,7 +214,7 @@ class path_conv
unsigned __stdcall ndisk_links (DWORD);
char *normalized_path;
size_t normalized_path_size;
void set_normalized_path (const char *) __attribute__ ((regparm (2)));
void set_normalized_path (const char *, bool) __attribute__ ((regparm (3)));
DWORD get_symlink_length () { return symlink_length; };
private:
DWORD symlink_length;