HomePhorge

(PUP-1044) Fix mode of stream used by filebucket to be binary
a22bdca780eeUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1044) Fix mode of stream used by filebucket to be binary

The stream used by a FileBucket::File in #stream opened the file
with 'r' mode which will cause end of line translation on windows.
The corret binary mode for reading is 'rb'.

This also does some maintenance changes by removing parentheses and
semicolons that are not needed.

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUa22bdca780ee: (PUP-1044) Fix mode of stream used by filebucket to be binary (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Aug 19 2014, 8:12 PM