Markus Neteler wrote:

> Markus Metz figured it out, fixed locally (see attachment).
> Submit or not?

This part:

> +/* Alias the symbols using asm */
> +extern "C" {
> +extern int open(const char *, int, ...) __asm__("open64");
> +}

shouldn't be necessary.

AFAICT, the only parts of r.terraflow which call open() are
noclobberFile() and noclobberFileName() in stats.c. The former is no
longer used, and the latter closes the file immediately after opening
it, so there's no need for LFS there.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to