From e962f3c5f791ce9d66594073b4e84d8379693db7 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 16 Jun 2000 23:39:02 +0000 Subject: * 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. --- winsup/cygwin/path.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/path.cc') 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 )", res, cwd_posix, cwd_win32); + syscall_printf ("%d = chdir() cwd_posix '%s' native '%s'", res, cwd_posix, native_dir); return res; } -- cgit v1.2.3