[GRASS-dev] ubuntu 8.10, grass 6.3, r.fill.dir|r.drain

Markus Neteler neteler at osgeo.org
Thu Oct 30 14:37:22 EDT 2008


On Thu, Oct 30, 2008 at 7:30 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Jachym Cepicky wrote:
>
>> I try to package grass 6.3 for ubuntu 8.10 and it failes on r.fill.dir
>> and r.drain moduels (both do use same type of "open" function and do
>> fail on the same issue, as it seems to me):
...
>> in r.fill.dir/main.c, lines 199-201:
>>
>>
>>    fe=open(tempfile1,O_RDWR|O_CREAT); /* elev */
>>    fd=open(tempfile2,O_RDWR|O_CREAT); /* dirn */
>>    fm=open(tempfile3,O_RDWR|O_CREAT); /* problems */
>>
>> What do do?
>
>     fe=open(tempfile1,O_RDWR|O_CREAT,0666); /* elev */
>     fd=open(tempfile2,O_RDWR|O_CREAT,0666); /* dirn */
>     fm=open(tempfile3,O_RDWR|O_CREAT,0666); /* problems */
>

Fixed in 6.3.svn, 6.4.svn and 7.0.svn.

Markus


More information about the grass-dev mailing list