* 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.
This commit is contained in:
Christopher Faylor
2000-06-16 23:39:02 +00:00
parent b585720b59
commit e962f3c5f7
3 changed files with 13 additions and 11 deletions

View File

@ -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;
}