[GRASS-dev] PATCH: lib/db/dbmi_client/copy_tab.c

Martin Landa landa.martin at gmail.com
Tue Jul 18 07:35:54 EDT 2006


Hi Brad,

After patching the file, I get segfault on my pc...

GRASS 6.1.cvs (karlin):~ > db.copy from_table=martin.h1 to_t=martin.h1
WARNING: Table 'grass_karlin' already exists
Segmentation fault

So I have slightly modified your patch, see the attachment. I hope it helps...

Best regards, Martin

2006/7/18, Brad Douglas <rez at touchofmadness.com>:
> Here's a patch to copy_tab.c to checks to see if a table already exists
> before writing.  Objections?
>
>
> --
> Brad Douglas <rez touchofmadness com>                      KB8UYR
> Address: 37.493,-121.924 / WGS84    National Map Corps #TNMC-3785
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy_tab.c_v2.patch
Type: application/octet-stream
Size: 1988 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060718/cf183b95/copy_tab.c_v2.obj


More information about the grass-dev mailing list