[GRASS-dev] tmpfile() -> G_asprintf fails on Win/MinGW
neteler at itc.it
Fri Oct 6 11:43:38 EDT 2006
On Fri, Oct 06, 2006 at 05:35:29PM +0200, Radim Blazek wrote:
> attached is critical bugfix for G_asprintf(). tmpfile() fails on
> 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.
Patch applied to both repositories (I have changed the C++ style comment, though).
> BTW, I dont think G_asprintf should be used in this cases:
> G_asprintf(&datumlongname, "unknown");
> G_asprintf(&ellps, "unnamed");
> G_asprintf( &pszDatumName, pszDatumNameConst );
More information about the grass-dev