mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Set I/O mode to binary in Windows in sqlite3_rsync.
FossilOrigin-Name: 67175287440cf363df01bed2464122c3b686a82ea82aeecd3f45fe90c359495c
This commit is contained in:
@ -240,9 +240,9 @@ static int popen2(
|
||||
hStdinRd, hStdoutWr, hStderr,&childPid);
|
||||
*pChildPid = childPid;
|
||||
fd = _open_osfhandle(PTR_TO_INT(hStdoutRd), 0);
|
||||
*ppIn = fdopen(fd, "r");
|
||||
*ppIn = fdopen(fd, "rb");
|
||||
fd = _open_osfhandle(PTR_TO_INT(hStdinWr), 0);
|
||||
*ppOut = _fdopen(fd, "w");
|
||||
*ppOut = _fdopen(fd, "wb");
|
||||
CloseHandle(hStdinRd);
|
||||
CloseHandle(hStdoutWr);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user