summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-16 23:39:02 +0000
committerChristopher Faylor <me@cgf.cx>2000-06-16 23:39:02 +0000
commite962f3c5f791ce9d66594073b4e84d8379693db7 (patch)
treec409c95cebd54d3d635432213f7959468dcfac53 /winsup/cygwin/path.cc
parentb585720b592290e33d487473469080604197dd7d (diff)
downloadcygnal-e962f3c5f791ce9d66594073b4e84d8379693db7.tar.gz
cygnal-e962f3c5f791ce9d66594073b4e84d8379693db7.tar.bz2
cygnal-e962f3c5f791ce9d66594073b4e84d8379693db7.zip
* Makefile.in: Just use library files from this tree when building cygrun.exe.
* path.cc (chdir): Don't set cache to offending chdir. Change comment to reflect current reality.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 4952d4608..27413afb8 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -2471,7 +2471,7 @@ chdir (const char *dir)
{
/* Store new cache information */
free (cwd_win32);
- cwd_win32 = strdup (path);;
+ cwd_win32 = strdup (path);
char pathbuf[MAX_PATH];
(void) normalize_posix_path (cwd_posix, dir, pathbuf);
@@ -2479,7 +2479,7 @@ chdir (const char *dir)
cwd_posix = strdup (pathbuf);
}
- syscall_printf ("%d = chdir (%s <dos %s>)", res, cwd_posix, cwd_win32);
+ syscall_printf ("%d = chdir() cwd_posix '%s' native '%s'", res, cwd_posix, native_dir);
return res;
}