New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Garbled environment of child processess on Windows #9681
Comments
From stroornt@gmail.comCreated by stroornt@gmail.comThis is a bug report for perl from stroornt@gmail.com, ----------------------------------------------------------------- LPSTR AnsiGetEnvironmentStrings()
{
LPSTR envA;
int len;
if(IsWin95())
{
LPSTR envO, ptr;
envO=(LPSTR)GetEnvironmentStrings();
for(ptr=envO; *ptr; ptr+=strlen(ptr)+1);
len=(ptr-envO)+1;
Newx(envA, len, char);
OemToCharBuff(envO, envA, len);
FreeEnvironmentStrings(envO);
}
else
{
LPWSTR envW, ptr;
envW=GetEnvironmentStringsW();
for(ptr=envW; *ptr; ptr+=wcslen(ptr)+1);
len=(ptr-envW)+1;
int lenA=WideCharToMultiByte(CP_ACP, 0, envW, len, NULL, 0, NULL, NULL);
Newx(envA, lenA, char);
WideCharToMultiByte(CP_ACP, 0, envW, len, envA, lenA, NULL, NULL);
FreeEnvironmentStringsW(envW);
}
return envA;
} Perl Info
|
The RT System itself - Status changed from 'new' to 'open' |
From itcharlie@gmail.comThis ticket hasn't been updated for some time and the Perl version reported is 5.10. Bulk88 when you can, please review this ticket and update on whether ( #12161 ) resolves the reported issue. |
@bulk88 can you confirm if this ticket can be closed? |
Migrated from rt.perl.org#63844 (status was 'open')
Searchable as RT63844$
The text was updated successfully, but these errors were encountered: