diff options
author | Christopher Faylor <me@cgf.cx> | 2006-08-02 19:11:48 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-08-02 19:11:48 +0400 |
commit | 6f1d48621ed3fa1cbbfe115ee7c3f672f525b162 (patch) | |
tree | 0d541629006673e95f21fb7c47f95bf825f6f05c /winsup/cygwin/environ.h | |
parent | 2dba45f4aab6206025bb2f09c6e6a68d20386628 (diff) |
* environ.cc (env_win32_to_posix_path_list): Declare.
(conv_envvars): Use env_win32_to_posix_path_list rather than
cygwin_win32_to_posix_path_list.
(posify): Translate back to win32 path if errno is EIDRM.
* environ.h: Update copyright. Define ENV_CVT.
* path.cc (conv_path_list): If converting for the environment and removed an
element set errno to ENV_CVT.
(env_win32_to_posix_path_list): New function.
Diffstat (limited to 'winsup/cygwin/environ.h')
-rw-r--r-- | winsup/cygwin/environ.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/environ.h b/winsup/cygwin/environ.h index b953148b4..84c88a3c9 100644 --- a/winsup/cygwin/environ.h +++ b/winsup/cygwin/environ.h @@ -1,6 +1,6 @@ /* environ.h: Declarations for environ manipulation - Copyright 2000, 2001, 2002 Red Hat, Inc. + Copyright 2000, 2001, 2002, 2003, 2005, 2006 Red Hat, Inc. This file is part of Cygwin. @@ -48,3 +48,5 @@ extern "C" char __stdcall **cur_environ (); char ** __stdcall build_env (const char * const *envp, char *&envblock, int &envc, bool need_envblock) __attribute__ ((regparm (3))); + +#define ENV_CVT -1 |