* syscalls.cc: Include environ.h.

(chroot): Set errno in case of path error.  Call getwinenv.
* environ.cc: Remove the NO_COPY attribute of conv_envvars.
This commit is contained in:
Christopher Faylor
2004-05-08 02:55:38 +00:00
parent f8aae275a4
commit ac3003157b
3 changed files with 14 additions and 11 deletions

View File

@ -54,7 +54,7 @@ static char **lastenviron;
CreateProcess. HOME is here because most shells use it and would be
confused by Windows style path names. */
static int return_MAX_PATH (const char *) {return CYG_MAX_PATH;}
static NO_COPY win_env conv_envvars[] =
static win_env conv_envvars[] =
{
{NL ("PATH="), NULL, NULL, cygwin_win32_to_posix_path_list,
cygwin_posix_to_win32_path_list,