-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Filesystem API, Live Restore
-
None
-
Storage Engines
-
1
-
StorEng - 2025-01-21
Currently if str is passed as *strp in WT_SUFFIX_MATCH(str, sfx) it throws error, since strcmp(&str[strlen(str) - strlen(sfx)] in the MACRO is expanded to strcmp(&*strp[strlen(*strp) - strlen(sfx)] which is incorrect. This ticket is to fix that by wrap parentheses to str in the MACRO so it is expanded to strcmp(&(*strp)[strlen(*strp) - strlen(sfx)].