This issue was imported from the GSFC issue tracking system
Imported from: [GSFCCFS-1799] CF should use larger cf_entity_id_t type as default
Originally submitted by: Hickey, Joseph P. (GSFC-582.0)[VANTAGE SYSTEMS INC] on Wed Nov 17 10:10:01 2021
Original Description:
In the default configuration, the cf_entity_id_t is defined as a uint8. While this is permissible per the spec, it means none of the "variable size" features implemented in the code will ever be used, because the size is always 1.
In particular the "CF_GetMemcpySize" function will only ever be called with a size of 1, which basically skips the loops in here.
Although the test do call it with a bigger sizes (200!!?!) it does not seem to actually check the intended purpose of this routine, and the tests only appear to be included when ENDIAN==_EL.
This issue was imported from the GSFC issue tracking system
Imported from: [GSFCCFS-1799] CF should use larger cf_entity_id_t type as default
Originally submitted by: Hickey, Joseph P. (GSFC-582.0)[VANTAGE SYSTEMS INC] on Wed Nov 17 10:10:01 2021
Original Description:
In the default configuration, the cf_entity_id_t is defined as a uint8. While this is permissible per the spec, it means none of the "variable size" features implemented in the code will ever be used, because the size is always 1.
In particular the "CF_GetMemcpySize" function will only ever be called with a size of 1, which basically skips the loops in here.
Although the test do call it with a bigger sizes (200!!?!) it does not seem to actually check the intended purpose of this routine, and the tests only appear to be included when ENDIAN==_EL.