[GRASS-dev] tmpfile() -> G_asprintf fails on Win/MinGW

Radim Blazek radim.blazek at gmail.com
Fri Oct 6 11:35:29 EDT 2006

attached is critical bugfix for G_asprintf(). tmpfile() fails on Windows/MinGW
if user des not have enough permissions on the drive (top dir) where he is
currently working.
Please apply to both HEAD and 6.2 release.

BTW, I dont think G_asprintf should be used in this cases:
  G_asprintf(&datumlongname, "unknown");
  G_asprintf(&ellps, "unnamed");
  G_asprintf( &pszDatumName, pszDatumNameConst );

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asprintf.c.patch1
Type: application/octet-stream
Size: 888 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061006/b5aca48a/asprintf.c.obj

More information about the grass-dev mailing list