* environ.cc (build_env): Ensure that win32 array is properly filled in when a
missing value has to be generated.
This commit is contained in:
parent
0aedc5e99a
commit
dd991a7572
|
@ -1,3 +1,8 @@
|
|||
2005-04-26 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* environ.cc (build_env): Ensure that win32 array is properly filled in
|
||||
when a missing value has to be generated.
|
||||
|
||||
2005-04-26 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* include/cygwin/version.h: Bump DLL minor number to 17.
|
||||
|
|
|
@ -980,7 +980,7 @@ build_env (const char * const *envp, char *&envblock, int &envc,
|
|||
*dstp = spenvs[i].retrieve (no_envblock);
|
||||
if (*dstp && (!no_envblock || spenvs[i].force) && *dstp != env_dontadd)
|
||||
{
|
||||
*pass_dstp = *dstp;
|
||||
*pass_dstp++ = *dstp;
|
||||
tl += strlen (*dstp) + 1;
|
||||
dstp++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue