[GRASS-dev] compilation of grass on AIX 7.1

Glynn Clements glynn at gclements.plus.com
Wed Jun 26 14:04:43 PDT 2013


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 <glynn at gclements.plus.com>


More information about the grass-dev mailing list