get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815417,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/815417/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/291099144.1094665.1505817664806@poczta.nazwa.pl/",
    "project": {
        "id": 41,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<291099144.1094665.1505817664806@poczta.nazwa.pl>",
    "list_archive_url": null,
    "date": "2017-09-19T10:41:04",
    "name": "[RFC,v9,1/6] Correct the size of _nl_value_type_LC_... arrays.",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f9c80b7a81a24d462dcaba9738e273c7a4a0b3c5",
    "submitter": {
        "id": 67752,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/67752/?format=api",
        "name": "Rafal Luzynski",
        "email": "digitalfreak@lingonborough.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/291099144.1094665.1505817664806@poczta.nazwa.pl/mbox/",
    "series": [
        {
            "id": 3831,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3831/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=3831",
            "date": "2017-09-19T10:39:23",
            "name": "Month names in alternative grammatical case",
            "version": 9,
            "mbox": "http://patchwork.ozlabs.org/series/3831/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815417/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815417/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84714-incoming=patchwork.ozlabs.org@sourceware.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "mailing list libc-alpha@sourceware.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84714-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"xHpHxI3d\"; dkim-atps=neutral",
            "sourceware.org; auth=none"
        ],
        "Received": [
            "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxKDP0mvcz9s82\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 20:41:24 +1000 (AEST)",
            "(qmail 80100 invoked by alias); 19 Sep 2017 10:41:15 -0000",
            "(qmail 71422 invoked by uid 89); 19 Sep 2017 10:41:09 -0000"
        ],
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:reply-to:to:message-id:subject\n\t:mime-version:content-type:content-transfer-encoding; q=dns; s=\n\tdefault; b=cVY+LCCDH6YfMbNbmGMqLHKWHNK7QIrOUBi9sytUXrRfz2uz1Z2lY\n\t0UH3anBF5Lyv1kl0dQNW3xXbc29CL72EjdDem9yqllmal1u2IbwtzPZFC4PPUXGM\n\tdkNkIr+OltrtnIYBdFJLhyORBFAmfvY1b7mietTua1xkK9PCytL34c=",
        "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:reply-to:to:message-id:subject\n\t:mime-version:content-type:content-transfer-encoding; s=default;\n\tbh=hzhtcTjlJtoez+Z+DfL6lrB37R8=; b=xHpHxI3dDi1JqFHzM8LZmmXJ6A+d\n\tbSXU2b0rU54NutuwxYBw7Kjpl3W+hWVCAxex6QQOf4ud0i9iBf0746dlzjRc1Avy\n\tq4YtkOHP4OByzsuRo9i3HSyD0RZU2yIWiH6TNCHN0KJY5kbICZvSxCf1xUAQk3JB\n\t3jxp31NC9gZ4lFU=",
        "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm",
        "Precedence": "bulk",
        "List-Id": "<libc-alpha.sourceware.org>",
        "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>",
        "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>",
        "List-Archive": "<http://sourceware.org/ml/libc-alpha/>",
        "List-Post": "<mailto:libc-alpha@sourceware.org>",
        "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>",
        "Sender": "libc-alpha-owner@sourceware.org",
        "X-Virus-Found": "No",
        "X-Spam-SWARE-Status": "No, score=-23.8 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2\n\tspammy=H*MI:poczta, month, H*x:Mailer, H*UA:Mailer",
        "X-HELO": "aev204.rev.netart.pl",
        "X-Spam-Score": "0",
        "Date": "Tue, 19 Sep 2017 12:41:04 +0200 (CEST)",
        "From": "Rafal Luzynski <digitalfreak@lingonborough.com>",
        "Reply-To": "Rafal Luzynski <digitalfreak@lingonborough.com>",
        "To": "libc-alpha@sourceware.org",
        "Message-ID": "<291099144.1094665.1505817664806@poczta.nazwa.pl>",
        "Subject": "[RFC][PATCH v9 1/6] Correct the size of _nl_value_type_LC_...\n\tarrays.",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "7bit",
        "X-Originating-Client": "com.openexchange.ox.gui.dhtml"
    },
    "content": "There were several problems with checking the array size in the past,\nfor example BZ#356, caused by incorrectly assuming that every locale\ntoken represents one element.  In fact, if a token represented\na subarray, for example an array of month names or characters category\nand it appeared at the end of the array the compiler assumed that\nthe array ends just after the first element of the subarray.\nWorkarounds used in the past was to skip some categories while testing,\nfor example LC_CTYPE.  Now when we are about to add alternative month\nnames to LC_TIME (BZ#10871) this will fail again.\n\n\t* locale/loadlocale.c: Correct size of\n\t_nl_value_type_LC_<category> arrays.\n---\n ChangeLog           | 5 +++++\n locale/loadlocale.c | 3 ++-\n 2 files changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/ChangeLog b/ChangeLog\nindex 25b05f2..3b8e6c5 100644\n--- a/ChangeLog\n+++ b/ChangeLog\n@@ -1,3 +1,8 @@\n+2017-09-19  Rafal Luzynski  <digitalfreak@lingonborough.com>\n+\n+\t* locale/loadlocale.c: Correct size of\n+\t_nl_value_type_LC_<category> arrays.\n+\n 2017-09-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>\n \n \t* sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.\ndiff --git a/locale/loadlocale.c b/locale/loadlocale.c\nindex 2bdb39b..cdc3dd4 100644\n--- a/locale/loadlocale.c\n+++ b/locale/loadlocale.c\n@@ -45,7 +45,8 @@ static const size_t _nl_category_num_items[] =\n #define NO_PAREN(arg, rest...) arg, ##rest\n \n #define DEFINE_CATEGORY(category, category_name, items, a) \\\n-static const enum value_type _nl_value_type_##category[] = { NO_PAREN items };\n+static const enum value_type _nl_value_type_##category     \\\n+  [_NL_ITEM_INDEX (_NL_NUM_##category)] = { NO_PAREN items };\n #define DEFINE_ELEMENT(element, element_name, optstd, type, rest...) \\\n   [_NL_ITEM_INDEX (element)] = type,\n #include \"categories.def\"\n",
    "prefixes": [
        "RFC",
        "v9",
        "1/6"
    ]
}