[Gdal-dev] apps / MinGW
Radim Blazek
radim.blazek at gmail.com
Wed Apr 12 11:19:20 EDT 2006
On 4/12/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Radim Blazek wrote:
> > I had problems with GRASS raster driver, it is using functions from
> > GRASS library not VSI functions.
> > I thought to add the code above to gdalinfo.c etc. but if it is problem
> > only for GRASS I understand that it is not best.
>
> Radim,
>
> Well, not only it is not best, I don't see that doing it in gdalinfo.c would
> even have any useful effect.
It has that efect that it works.
> If the problem is in the GRASS libraries calls
> to fopen() (or open() perhaps?) then that is where the fix would have to be.
The problem is that in the GRASS libraries _fmode = _O_BINARY;
is set but it is ignored if an application is linked to DLL.
I would prefer to fix that in the GRASS library but I dont know how.
Do you have any idea? The library is using open().
Radim
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | President OSGF, http://osgeo.org
>
>
More information about the Gdal-dev
mailing list