[GRASS-dev] [GRASS GIS] #1866: broken db driver communication in winGRASS 7

GRASS GIS trac at osgeo.org
Thu Mar 14 07:34:08 PDT 2013


#1866: broken db driver communication in winGRASS 7
------------------------------+---------------------------------------------
 Reporter:  martinl           |       Owner:  grass-dev@…              
     Type:  defect            |      Status:  new                      
 Priority:  blocker           |   Milestone:  7.0.0                    
Component:  Database          |     Version:  unspecified              
 Keywords:  sqlite, wingrass  |    Platform:  MSWindows 2K             
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------

Comment(by glynn):

 Replying to [comment:23 glynn]:
 > FWIW, MinGW provides a /lib/binmode.o file for this purpose. Can you
 try:
 {{{
 make FMODE_OBJ=/lib/binmode.o
 }}}
 Another thing to try is:
 {{{
 #include <io.h>
 ...
 _setmode(_fileno(stdin), _O_BINARY);
 _setmode(_fileno(stdout), _O_BINARY);
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1866#comment:24>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list