diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-08 02:55:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-08 02:55:38 +0000 |
commit | ac3003157b2de7119b72a8bcf4e2e09db51faacc (patch) | |
tree | 296362e0cce3fe15f0f31535a5adb7f07693f174 /winsup/cygwin/environ.cc | |
parent | f8aae275a462e1d6c45ba188169ba8d4b408a27f (diff) | |
download | cygnal-ac3003157b2de7119b72a8bcf4e2e09db51faacc.tar.gz cygnal-ac3003157b2de7119b72a8bcf4e2e09db51faacc.tar.bz2 cygnal-ac3003157b2de7119b72a8bcf4e2e09db51faacc.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index fd04e1fcc..749d8139f 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -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, |