Open files in binary mode on Win32 so control-z isn't seen as EOF.
Bruce Momjian <bruce@momjian.us>
Open files in binary mode on Win32 so control-z isn't seen as EOF.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +3 −3 |
| src/bin/psql/common.h | modified | +13 −1 |
| src/bin/psql/copy.c | modified | +2 −2 |
| src/bin/psql/psqlscan.l | modified | +2 −2 |