HomePhorge

(PUP-1681) Always go through the native windows methods
5820d4cdf971Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1681) Always go through the native windows methods

Previously, on 2003 systems where symlinks are not supported, the call
to Puppet::FileSystem.stat would delegate to File.stat, which does not
return the emulated POSIX mode.

Instead we always want to delegate to Puppet::Util::Windows::File.stat.
This was caught by existing tests, so new tests have been added.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5a6bb7a5710d: Merge remote-tracking branch 'upstream/pr/2350'
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU5820d4cdf971: (PUP-1681) Always go through the native windows methods (authored by Josh Cooper <josh@puppetlabs.com>).Feb 13 2014, 6:25 AM