23 Oct
2025
23 Oct
'25
4:12 p.m.
On Thu Oct 23 15:51:16 2025 +0000, Rémi Bernon wrote:
Sure, that's why I'm suggesting to copy the extension to a temporary buffer to make sure that it is zero terminated and avoid having to open code some `strcmp` variant for comparison. Especially as we have the extension name length here already. I don't like complicating callers. As I said, the way to remove that is to properly tokenize. Ad-hoc temporary buffers don't seem like an improvement.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9263#note_119472