[Bug 51294] New: Unknown evaluation order in winefile/winefile.c

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jun 19 12:59:56 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51294

            Bug ID: 51294
           Summary: Unknown evaluation order in winefile/winefile.c
           Product: Wine
           Version: 6.11
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: mikrutrafal at protonmail.com
      Distribution: ---

https://github.com/wine-mirror/wine/blob/e909986e6ea5ecd49b2b847f321ad89b2ae4f6f1/programs/winefile/winefile.c#L3939-L3947

```

    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_NAME);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_SIZE);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_CDATE);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_ADATE);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_MDATE);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]), IDS_COL_IDX);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_LINKS);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]),
IDS_COL_ATTR);
    load_string(g_pos_names[col++], ARRAY_SIZE(g_pos_names[col]), IDS_COL_SEC);
```

col is used and incremented in same line, so it may work different on different
platforms

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list