[GRASS-SVN] r55382 - grass/trunk/lib/db/dbmi_driver

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 14 12:40:54 PDT 2013


Author: mmetz
Date: 2013-03-14 12:40:54 -0700 (Thu, 14 Mar 2013)
New Revision: 55382

Modified:
   grass/trunk/lib/db/dbmi_driver/driver.c
Log:
fix #1866

Modified: grass/trunk/lib/db/dbmi_driver/driver.c
===================================================================
--- grass/trunk/lib/db/dbmi_driver/driver.c	2013-03-14 19:39:16 UTC (rev 55381)
+++ grass/trunk/lib/db/dbmi_driver/driver.c	2013-03-14 19:40:54 UTC (rev 55382)
@@ -88,6 +88,9 @@
 	    cfd++;
 	}
     }
+
+    _setmode(_fileno(stdin), _O_BINARY);
+    _setmode(_fileno(stdout), _O_BINARY);
 #endif
 
     send = stdout;



More information about the grass-commit mailing list