get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2216342/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2216342,
    "url": "http://patchwork.ozlabs.org/api/patches/2216342/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20260326105408.109745-1-xry111@xry111.site/",
    "project": {
        "id": 41,
        "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api",
        "name": "GNU C Library",
        "link_name": "glibc",
        "list_id": "libc-alpha.sourceware.org",
        "list_email": "libc-alpha@sourceware.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260326105408.109745-1-xry111@xry111.site>",
    "list_archive_url": null,
    "date": "2026-03-26T10:54:08",
    "name": "testsuite: fix test-narrowing-trap failure on platforms where FE_INVALID is not defined",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4f006ae4515c85b478577c0c0b20b6b4d3ea7165",
    "submitter": {
        "id": 84026,
        "url": "http://patchwork.ozlabs.org/api/people/84026/?format=api",
        "name": "Xi Ruoyao",
        "email": "xry111@xry111.site"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20260326105408.109745-1-xry111@xry111.site/mbox/",
    "series": [
        {
            "id": 497566,
            "url": "http://patchwork.ozlabs.org/api/series/497566/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=497566",
            "date": "2026-03-26T10:54:08",
            "name": "testsuite: fix test-narrowing-trap failure on platforms where FE_INVALID is not defined",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497566/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216342/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216342/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "libc-alpha@sourceware.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "libc-alpha@sourceware.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=xry111.site header.i=@xry111.site header.a=rsa-sha256\n header.s=default header.b=EZK6yDjv;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=xry111.site header.i=@xry111.site header.a=rsa-sha256\n header.s=default header.b=EZK6yDjv",
            "sourceware.org;\n dmarc=pass (p=reject dis=none) header.from=xry111.site",
            "sourceware.org; spf=pass smtp.mailfrom=xry111.site",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=89.208.246.23"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fhLKQ2X0lz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 21:55:38 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 23A334BA2E20\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 10:55:36 +0000 (GMT)",
            "from xry111.site (xry111.site [89.208.246.23])\n by sourceware.org (Postfix) with ESMTPS id CBE604BA2E11\n for <libc-alpha@sourceware.org>; Thu, 26 Mar 2026 10:55:14 +0000 (GMT)",
            "from stargazer (unknown\n [IPv6:2409:8a4c:e10:180:5633:9efb:acb8:d769])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n (Client did not present a certificate)\n (Authenticated sender: xry111@xry111.site)\n by xry111.site (Postfix) with ESMTPSA id 2B79C65992;\n Thu, 26 Mar 2026 06:54:38 -0400 (EDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 23A334BA2E20",
            "OpenDKIM Filter v2.11.0 sourceware.org CBE604BA2E11"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org CBE604BA2E11",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org CBE604BA2E11",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774522514; cv=none;\n b=VBVJFaid1ZEFKEtL/CsSwVpiIptZtOKXyBr/Vp4PJlF1n6nBrEhPNYbmFG405LDZCgf6Uf3cuAeMTEILxMN6creZ73u1nWgxs6YDVEqpdV7q82rB9fvYPGTtfw91Oi8za4Fsku+D6V0AuSxUKF/sVXfnzTLppz5AK4PJ7v4zIJ0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774522514; c=relaxed/simple;\n bh=jJbfVF3GDV8XYVuXzp9JNhwpl9aEHwiyNnnpQaL+NbE=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=jvuccivsV6+rehmdvDoNIw8eH5njiHw1wVPg0qOx5lmbCWGdWeDAhy1VxYzJvUNb+fpAmu0pkB5lKB5/iApNT7v7cJbWdw3+ABctshqulBYXe/ZrqFddFMen9KipLTT2+gLZBuGezKhBZFrTlJp2lbBbSdIdPIyhuU/gFJpvED4=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=xry111.site;\n s=default; t=1774522480;\n bh=lLF8kuFrNQF1Dv7rpZ3NXh6Tz0sdyC7AoYPP+FMRxkA=;\n h=From:To:Cc:Subject:Date:From;\n b=EZK6yDjvrVKOwNse8YIaM2AYe67gkRMfLbTon02f4Fmg6GMPOKGfgWb8o5+TgYU71\n L8VUBdbkSL7TFzZrJlbbOwfD4FDJiUSfHB5p4oOvsoCVI4/EbKNi/P7G4ia6H13yFc\n inDzEu4CZBxsNN3XrCd05+OC2saD78DLQd2M48XA=",
        "From": "Xi Ruoyao <xry111@xry111.site>",
        "To": "libc-alpha@sourceware.org",
        "Cc": "Joseph Myers <josmyers@redhat.com>,\n\tXi Ruoyao <xry111@xry111.site>",
        "Subject": "[PATCH] testsuite: fix test-narrowing-trap failure on platforms where\n FE_INVALID is not defined",
        "Date": "Thu, 26 Mar 2026 18:54:08 +0800",
        "Message-ID": "<20260326105408.109745-1-xry111@xry111.site>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "libc-alpha@sourceware.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Libc-alpha mailing list <libc-alpha.sourceware.org>",
        "List-Unsubscribe": "<https://sourceware.org/mailman/options/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe>",
        "List-Archive": "<https://sourceware.org/pipermail/libc-alpha/>",
        "List-Post": "<mailto:libc-alpha@sourceware.org>",
        "List-Help": "<mailto:libc-alpha-request@sourceware.org?subject=help>",
        "List-Subscribe": "<https://sourceware.org/mailman/listinfo/libc-alpha>,\n <mailto:libc-alpha-request@sourceware.org?subject=subscribe>",
        "Errors-To": "libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org"
    },
    "content": "I didn't realize it can be undefined at all instead of simply\nunsupported :(.\n\nSigned-off-by: Xi Ruoyao <xry111@xry111.site>\n---\n math/test-narrowing-trap.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/math/test-narrowing-trap.c b/math/test-narrowing-trap.c\nindex a483c4bf1a..6d21357913 100644\n--- a/math/test-narrowing-trap.c\n+++ b/math/test-narrowing-trap.c\n@@ -26,6 +26,7 @@\n static int\n do_test (void)\n {\n+#ifdef FE_INVALID\n   pid_t pid;\n \n   if (!EXCEPTION_ENABLE_SUPPORTED (FE_INVALID))\n@@ -50,6 +51,9 @@ do_test (void)\n     }\n \n   return 0;\n+#else\n+  FAIL_UNSUPPORTED (\"FE_INVALID is not defined\");\n+#endif\n }\n \n #include <support/test-driver.c>\n",
    "prefixes": []
}