Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-09-10 07:36:40 +0400
committerChristopher Faylor <me@cgf.cx>2000-09-10 07:36:40 +0400
commit4497c0df52833fc777f0708567d2e1533ac794dc (patch)
treeab69d8fdaaba4758898a1680c02ca5e3ca72100f /winsup/cygwin/path.h
parent2137295d10c93590ae18a9b78230488cd6378c68 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 01c965752..4c7f2c0e2 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -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;