<div dir="ltr">Hi GDAL devs,<div>does anyone know why GDAL_OF_ALL and GDAL_READONLY consts have the same value?</div><div>Both are used by GDALOpenEx as nOpenFlags param so shouldn't they be distinguishable?</div><div><br></div><div><i>#define GDAL_OF_READONLY 0x00</i></div><div><i>#define GDAL_OF_ALL 0x00</i></div><div><br></div><div><a href="https://github.com/OSGeo/gdal/blob/5248a30e9a84998dd0416ab7b43fb1a3b1a18cb2/gcore/gdal.h#L999">https://github.com/OSGeo/gdal/blob/5248a30e9a84998dd0416ab7b43fb1a3b1a18cb2/gcore/gdal.h#L999</a></div><div><a href="https://github.com/OSGeo/gdal/blob/5248a30e9a84998dd0416ab7b43fb1a3b1a18cb2/gcore/gdal.h#L1011">https://github.com/OSGeo/gdal/blob/5248a30e9a84998dd0416ab7b43fb1a3b1a18cb2/gcore/gdal.h#L1011</a></div><div><br></div><div>Have a good day!<br>MichaƂ Kowalczuk</div></div>