git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55382 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -88,6 +88,9 @@ int db_driver(int argc, char *argv[])
cfd++;
}
+
+ _setmode(_fileno(stdin), _O_BINARY);
+ _setmode(_fileno(stdout), _O_BINARY);
#endif
send = stdout;