* external.cc (create_winenv): Rename from sync_winenv. Take

environment pointer as parameter and return pointer to corresponding
	win32 environment block if != NULL.  Otherwise just sync as before.
	(cygwin_internal): Add CW_CVT_ENV_TO_WINENV case.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CVT_ENV_TO_WINENV.
This commit is contained in:
Corinna Vinschen
2011-10-05 12:27:37 +00:00
parent a06c3bf336
commit 8dfce03bfa
4 changed files with 30 additions and 7 deletions

View File

@ -134,7 +134,8 @@ typedef enum
CW_INT_SETLOCALE,
CW_CVT_MNT_OPTS,
CW_LST_MNT_OPTS,
CW_STRERROR
CW_STRERROR,
CW_CVT_ENV_TO_WINENV
} cygwin_getinfo_types;
/* Token type for CW_SET_EXTERNAL_TOKEN */