[GRASS5] [bug #3362] (grass) r.proj works ONLY when source and
target mapset names are identical
Paul Kelly
paul-grass at stjohnspoint.co.uk
Thu Jun 23 06:40:06 EDT 2005
On Wed, 22 Jun 2005, Brad Douglas wrote:
> On Thu, 2005-06-23 at 03:09 +0200, Morten Hulden wrote:
>>>> I suspect Brad's recent changes to make G_asprintf() use G_tempfile()
>>>> should be reverted?
>>
>> Yes, it's in G_asprintf(). Simply changing G_tempfile() back to
>> tmpfile() on line 37 in asprintf.c fixes it. There may be other
>> consequences so I suggest the maintainer makes the reversion himself in cvs.
>
> This was my doing. I was unaware of the implications of G_tempfile().
> Can someone back out the changes?
I have changed G_asprintf() back to use tmpfile() instead of G_tempfile()
and fopen() and it seems to have fixed the r.proj bug.
Probably would need to think about systematically changing some other
occurences of G_tempfile() as Glynn and Morten suggested.
Paul
More information about the grass-dev
mailing list