Skip to content
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

Win32 incomparibility - getpwuid(), getgrgid() #26

Open
autarch opened this issue May 16, 2020 · 1 comment
Open

Win32 incomparibility - getpwuid(), getgrgid() #26

autarch opened this issue May 16, 2020 · 1 comment

Comments

@autarch
Copy link
Member

autarch commented May 16, 2020

Migrated from rt.cpan.org #57038 (status was 'stalled')

Requestors:

From [email protected] (@kmx) on 2010-04-29 12:41:41
:

Hi,

I have experienced the following error with Catalyst-View-Manson 0.18
(HTML-Mason 1.45) on Win32 Strawberry Perl 5.12.0

Failed test 'array root as comp_root doesn't get stringified'

at t/comp_root_ref.t line 40.

died: The getpwuid function is unimplemented at

D:/strawberry32/perl/site/lib/HTML/Mason/Interp.pm line 303.

Looks like you failed 1 test of 5.

t/comp_root_ref.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests

and it leeds me to HTML::Mason

Would it be possible to change "sub _make_data_subdir" in
lib/HTML/Mason/Interp.pm to skip getpwuid() + getgrgid() when on MS Windows
platform? If I understand the code the values (user + group) are used just in
error message.

Thanks

--
kmx

@autarch
Copy link
Member Author

autarch commented May 16, 2020

From [email protected] (@autarch) on 2010-05-22 03:48:47
:

On Thu Apr 29 08:41:41 2010, KMX wrote:

Hi,

I have experienced the following error with Catalyst-View-Manson 0.18
(HTML-Mason 1.45) on Win32 Strawberry Perl 5.12.0

Failed test 'array root as comp_root doesn't get stringified'

at t/comp_root_ref.t line 40.

died: The getpwuid function is unimplemented at

D:/strawberry32/perl/site/lib/HTML/Mason/Interp.pm line 303.

Looks like you failed 1 test of 5.

t/comp_root_ref.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests

and it leeds me to HTML::Mason

Would it be possible to change "sub _make_data_subdir" in
lib/HTML/Mason/Interp.pm to skip getpwuid() + getgrgid() when on MS
Windows
platform? If I understand the code the values (user + group) are used
just in
error message.

Patches with a test would be welcome, but I find it hard to believe that
this bug has existed for so long and no one else has had a problem with it.

Weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant