
This patch adds 'binary' parameter to ResourceManager 'string' method. It allows to open text files in 'rU' mode which recognizes all types of newlines, and binary files in 'rb' mode to prevent their corruption. Change-Id: I505070df187dfd910e68c555319e3ef92ce2c826 Closes-bug: #1496376
6 lines
175 B
YAML
6 lines
175 B
YAML
---
|
|
fixes:
|
|
- Text script files are opened in 'rU' mode which recognizes all types of
|
|
newlines, and binary files are opened in 'rb' mode to prevent their
|
|
corruption.
|