Project

General

Profile

« Previous | Next » 

Revision e1e4ea8f

Added by jeremyevans (Jeremy Evans) over 5 years ago

Set external encoding correctly for File.open('f', FILE::BINARY) on Windows

Previously, the external encoding was only set correctly for
File::BINARY if keyword arguments were provided. This copies
the logic for the keyword arguments case to the no keyword
arguments case. Possibly it should be refactored into a
separate function.

Fixes [Bug #16737]