#809: v.db.addtable consistently fails in winGrass
------------------------------+---------------------------------------------
  Reporter:  JonBall          |       Owner:  [email protected]
      Type:  defect           |      Status:  new                      
  Priority:  critical         |   Milestone:  6.4.0                    
 Component:  Vector           |     Version:  svn-releasebranch64      
Resolution:                   |    Keywords:  v.db.addtable, wingrass  
  Platform:  MSWindows Vista  |         Cpu:  x86-64                   
------------------------------+---------------------------------------------
Comment (by hamish):

 stuff to audit, both for spaces in path names and for correct column
 parsing when fs=':' and a path like "C:\Documents and Settings" is being
 parsed.

 {{{
 lib/db/
 dbmi_base/login.c:      ret = sscanf(buf, "%[^ ] %[^ ] %[^ ] %[^ ]", dr,
 db, usr, pwd);
 dbmi_base/dbmscap.c:    if (sscanf(buf, "%[^:]:%[^:]:%[^:\n]", name,
 startup, comment) == 3)
 dbmi_base/dbmscap.c:    else if (sscanf(buf, "%[^:]:%[^:\n]", name,
 startup) == 2)


 lib/vector/
 Vlib/field.c:   ndef = sscanf(buf, "%s %s %s %s %s", fldstr, tab, col, db,
 drv);
 }}}


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/809#comment:11>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to