* path.cc (chdir): Use the full path for cwd_win32. Consider attempts to chdir
to strings of dots > 2 to be an error. Pass 'dir' argument to cygcwd.set. (cwdstuff::set): Need to treat arguments from chdir differently. * path.h (cwdstuff): Add an argument to set.
This commit is contained in:
@ -139,7 +139,7 @@ struct cwdstuff
|
||||
void fixup_after_exec (char *win32, char *posix, DWORD hash);
|
||||
bool get_initial ();
|
||||
void copy (char * &posix_cwd, char * &win32_cwd, DWORD hash_cwd);
|
||||
void set (char *win32_cwd);
|
||||
void set (const char *win32_cwd, const char *posix_cwd = NULL);
|
||||
};
|
||||
|
||||
extern cwdstuff cygcwd;
|
||||
|
Reference in New Issue
Block a user