HomePhorge

(PUP-3779) confine hpux password spec
1efdef3178a4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3779) confine hpux password spec

Ruby 2.1.5 on Windows does not contain Etc::Password.passwd due to not
having HAVE_STRUCT_PASSWD_PW_PASSWD defined when it was compiled -
https://github.com/ruby/ruby/blob/v2_1_5/ext/etc/etc.c#L691-L693.
Ruby 2.0.0 did not have this and passwd was not guarded by an ifdef -
https://github.com/ruby/ruby/blob/v2_0_0_598/ext/etc/etc.c#L682

This goes for both x86 and x64 versions of Ruby. Since Etc is not used
on Windows, it is safe to confine this spec to only run on POSIX
systems.

Details

Provenance
Rob Reynolds <ferventcoder@gmail.com>Authored on
Kylo Ginsberg <kylo@puppetlabs.com>Committed on Mar 7 2015, 5:01 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU8f107d3c6d6e: (PUP-4094) Set the default environment timeout to 0
Branches
Unknown
Tags
Unknown

Event Timeline

Kylo Ginsberg <kylo@puppetlabs.com> committed rPU1efdef3178a4: (PUP-3779) confine hpux password spec (authored by Rob Reynolds <ferventcoder@gmail.com>).Mar 7 2015, 5:01 PM