[GRASS-SVN] r55433 - grass/branches/releasebranch_6_4/lib/db/dbmi_driver

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 18 13:33:24 PDT 2013


Author: mmetz
Date: 2013-03-18 13:33:23 -0700 (Mon, 18 Mar 2013)
New Revision: 55433

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

Modified: grass/branches/releasebranch_6_4/lib/db/dbmi_driver/driver.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/db/dbmi_driver/driver.c	2013-03-18 20:33:03 UTC (rev 55432)
+++ grass/branches/releasebranch_6_4/lib/db/dbmi_driver/driver.c	2013-03-18 20:33:23 UTC (rev 55433)
@@ -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