From ac3003157b2de7119b72a8bcf4e2e09db51faacc Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 8 May 2004 02:55:38 +0000 Subject: * 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. --- winsup/cygwin/environ.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/environ.cc') 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, -- cgit v1.2.3