My plugin driver uses both VSIFGetc and VSIFReadL/VSIFWriteL
on the same stream*.
Since https://github.com/OSGeo/gdal/pull/6883 made VSILFILE* and
FILE* different, I cannot figure out which I am supposed to use.
Possibly we need a VSIFGetcL to match VSIFReadL/VSIFWriteL
just as we have the non-large-file versions VSIFGetc/VSIFRead/VSIFWrite.
Though it may be easier just to change my code to use VSIFReadL
throughout instead of VSIFGetc ...
Thanks,
---------
* "man fgetc" on Ubuntu says:
Calls to the functions described here can be mixed with each
other and with calls to other input functions from the stdio library
for the same input stream.
and the stdio library includes fread/fwrite, so I think it is OK to use both.
--
Andrew C. Aitchison Kendal, UK
and...@aitchison.me.uk
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev