diff options
author | Björn Gustavsson <[email protected]> | 2013-02-05 09:13:41 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-11 14:08:46 +0100 |
commit | b00651f9701f6d352b270af3700abce0e65aa5b6 (patch) | |
tree | 3c4eae19b479d024ec0c6624b7356b06a4a93ef1 /erts/preloaded/src/zlib.erl | |
parent | 0aed93263414750a63d65908599ca2e73943b0a7 (diff) | |
download | otp-b00651f9701f6d352b270af3700abce0e65aa5b6.tar.gz otp-b00651f9701f6d352b270af3700abce0e65aa5b6.tar.bz2 otp-b00651f9701f6d352b270af3700abce0e65aa5b6.zip |
prim_file: Always open non-file ports in binary mode
Ports for operations that did not directly operate on a file (such
as listing the files in a directory) was always opened in a binary
mode, but there was still code that supported such port opened in
non-binary mode.
Since we are about to update the code reading directories, and we
don't want to bother we supporting non-binary ports, make sure that
we force the use of binary mode.
Diffstat (limited to 'erts/preloaded/src/zlib.erl')
0 files changed, 0 insertions, 0 deletions