HomePhorge

(#9983) Read file content from disk using binary mode
13f1054e921eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#9983) Read file content from disk using binary mode

Previously, the file content property chunked local files in text
mode, which could corrupt binary files on Windows.

This commit changes it to open the file in binary mode.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4b4bb8b0e1d9: (#9983) Use binary mode when reading and writing FileBucketFiles
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU13f1054e921e: (#9983) Read file content from disk using binary mode (authored by Josh Cooper <josh@puppetlabs.com>).Nov 1 2011, 5:27 PM