mirror of https://github.com/ecmwf/eccodes.git
bufr_compare blacklisting: See ECC-245, GRIB-573, GRIB-915
This commit is contained in:
parent
1bd373efbe
commit
331e6d9f3d
|
@ -1169,12 +1169,14 @@ static int compare_handles(grib_handle* handle1, grib_handle* handle2, grib_runt
|
||||||
|
|
||||||
/* mask only if no -c option or headerMode (-H)*/
|
/* mask only if no -c option or headerMode (-H)*/
|
||||||
if (blacklist && ( !listFromCommandLine || headerMode )) {
|
if (blacklist && ( !listFromCommandLine || headerMode )) {
|
||||||
|
/* See ECC-245, GRIB-573, GRIB-915: Do not change handles in memory */
|
||||||
|
/*
|
||||||
grib_string_list* nextb=blacklist;
|
grib_string_list* nextb=blacklist;
|
||||||
while (nextb) {
|
while (nextb) {
|
||||||
grib_clear(handle1,nextb->value);
|
grib_clear(handle1,nextb->value);
|
||||||
grib_clear(handle2,nextb->value);
|
grib_clear(handle2,nextb->value);
|
||||||
nextb=nextb->next;
|
nextb=nextb->next;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( listFromCommandLine && onlyListed ) {
|
if ( listFromCommandLine && onlyListed ) {
|
||||||
|
|
Loading…
Reference in New Issue