)]}'
{
  "commit": "e725e208127a444985e831cb4a6bfd96f5f76706",
  "tree": "785b0f99a0536b9ff700c1081d3629de64e9dddb",
  "parents": [
    "7dfa482d6a843e1e25b615d6b0200028cedce29f"
  ],
  "author": {
    "name": "Adrian Ratiu",
    "email": "adrian.ratiu@collabora.com",
    "time": "Mon Apr 27 15:14:00 2026 +0000"
  },
  "committer": {
    "name": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Apr 29 01:48:30 2026 -0700"
  },
  "message": "futility/host: fix builds against newer glibc\n\nglibc 2.43 started enforcing C23/C++ rules for strchr and strrchr,\nso they return a const char * if the input is const char *, which\nfails due to -Wincompatible-pointer-types-discards-qualifiers.\n\nIn normal_fmap() we need to write into the strings (replacing the\n\u0027:\u0027 separator with \u0027\\\\0\u0027), so they are not really const.\nThe sole caller passes argv straight through, so just drop the inner\nconst from the names parameter rather than casting it away locally.\n\nThe host_key2 fix is trivial: just add const to the declaration.\n\nBRANCH\u003dmain\nBUG\u003db:491765858\nTEST\u003dLocal builds on amd64-generic and arm64-generic with glibc 2.43.\n\nChange-Id: I284fc8fd35abb4974560fcb230ac1b3187b2043b\nSigned-off-by: Adrian Ratiu \u003cadrian.ratiu@collabora.com\u003e\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/7792932\nTested-by: Adrian Ratiu \u003cadrian.ratiu@collabora.corp-partner.google.com\u003e\nReviewed-by: Bob Haarman \u003cinglorion@chromium.org\u003e\nReviewed-by: Hsuan Ting Chen \u003croccochen@chromium.org\u003e\nReviewed-by: George Burgess \u003cgbiv@chromium.org\u003e\nCommit-Queue: Adrian Ratiu \u003cadrian.ratiu@collabora.corp-partner.google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2abc6911de1487cae9acf6fb865a48966719d562",
      "old_mode": 33188,
      "old_path": "futility/cmd_dump_fmap.c",
      "new_id": "e2b3556c91475b9afef99462bace7641828beceb",
      "new_mode": 33188,
      "new_path": "futility/cmd_dump_fmap.c"
    },
    {
      "type": "modify",
      "old_id": "2d2704927f729dcc421e3eefec95b00d831f5289",
      "old_mode": 33188,
      "old_path": "host/lib/host_key2.c",
      "new_id": "385a018779ffc0f0c0749eb69aa24689c3d99631",
      "new_mode": 33188,
      "new_path": "host/lib/host_key2.c"
    }
  ]
}
