get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810742,
    "url": "http://patchwork.ozlabs.org/api/patches/810742/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/1504720472-15009-1-git-send-email-adhemerval.zanella@linaro.org/",
    "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": "<1504720472-15009-1-git-send-email-adhemerval.zanella@linaro.org>",
    "list_archive_url": null,
    "date": "2017-09-06T17:54:32",
    "name": "[COMMITTED] Remove remaining _HAVE_STRING_ARCH_* definitions (BZ #18858)",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4ae15f0745751d6e209b0f5d93cb3343beea359b",
    "submitter": {
        "id": 66065,
        "url": "http://patchwork.ozlabs.org/api/people/66065/?format=api",
        "name": "Adhemerval Zanella",
        "email": "adhemerval.zanella@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/1504720472-15009-1-git-send-email-adhemerval.zanella@linaro.org/mbox/",
    "series": [
        {
            "id": 1860,
            "url": "http://patchwork.ozlabs.org/api/series/1860/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1860",
            "date": "2017-09-06T17:54:32",
            "name": "[COMMITTED] Remove remaining _HAVE_STRING_ARCH_* definitions (BZ #18858)",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1860/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810742/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810742/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84272-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-84272-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=\"sNAlZF9K\"; 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 3xnWSd3xPZz9sBW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 03:54:57 +1000 (AEST)",
            "(qmail 61000 invoked by alias); 6 Sep 2017 17:54:49 -0000",
            "(qmail 60783 invoked by uid 89); 6 Sep 2017 17:54:48 -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:from:to:subject:date:message-id; q=dns; s=\n\tdefault; b=loFp+RqW8m405kEfps6hJctA1j3EgTk6efoBikHdI/x2n5j8KqR73\n\tCo9GEb0niLVZVf7L2litoivmTXG8fAmOFP9rNJiXNIEL9Zw+aiMQFLesD8gcRT17\n\tr1vlOC3wtOfP+d0y8IspNKy089EShorIiBXKbYk/EQF7Ie/5+Lhvuo=",
        "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:from:to:subject:date:message-id; s=default;\n\tbh=2Y6Gkkh3/6JDRKz3YGrfRmyf2DQ=; b=sNAlZF9Kll08Fr5Nw9TQtHPHP/xm\n\tiNCVX8qN8X+pul5zlE/5LSQo9bwUxlzAA2g2lbsuDsjc93N5WWyoaV6q1U0KdYMu\n\t1mbZQ8mOVV8AILRvvmnlXnbE1mQRHjdGMp+ZJfysLUwksm9evsNJbZra9ZrvskkO\n\tRYRB1vAYs0aYDZ4=",
        "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=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "mail-qt0-f171.google.com",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=i6G8rlgDDzq3zpnTSPUclh0p98eJwIxRurDXhxvjbJs=;\n\tb=Kp2gJd2ALYNErsIrnttmjHo0rgAaIzsibq2Y8iyR8MjvSSs3f91N4agWSxrZATr1FZ\n\t0PFvNv+3Kev+CZpTDf3NVwmqAvOoX3XQH8fmu+UbZBndqYtiUIcles+vIdHPesctmi0C\n\tLZ4uORpHcdRfaKrgeKwLub29sV1dx+jWcscRyd8tx2ioAHr4dOerINZYiJ2KTnkW0FiX\n\tNWDzbA2xSmVsSjf/kvoeKiJVmGL7E6pXX1mO6sPhEpKkrungoqInbLamyOIikVw/FOmo\n\ts6gQRuqyp7WpPxtNG5nuvt+CbWLtJQdeFHW/FmCh88N6hCBMP/9/26Fb4Ce0WE92kP01\n\ttfCQ==",
        "X-Gm-Message-State": "AHPjjUijGPcV4Vna+wq7EiSEzmxGQa/QEX5mRFbrtO1C1ifK4R+8rUJQ\n\tgXk6/vcnD574UG0Ppq6j2g==",
        "X-Google-Smtp-Source": "ADKCNb4kDUQ75+S+awBK9hc2NEBjdGiXdQylwAO0m9s1nvrUOeiJe0vroU6T4SQjF7kVr0B4PYV2ag==",
        "X-Received": "by 10.200.53.216 with SMTP id l24mr4745860qtb.7.1504720485319;\n\tWed, 06 Sep 2017 10:54:45 -0700 (PDT)",
        "From": "Adhemerval Zanella <adhemerval.zanella@linaro.org>",
        "To": "libc-alpha@sourceware.org",
        "Subject": "[COMMITTED] Remove remaining _HAVE_STRING_ARCH_* definitions (BZ\n\t#18858)",
        "Date": "Wed,  6 Sep 2017 14:54:32 -0300",
        "Message-Id": "<1504720472-15009-1-git-send-email-adhemerval.zanella@linaro.org>"
    },
    "content": "Since the removal of bits/string.h, _HAVE_STRING_ARCH_* are no\nlonger used.  This patch removes the unused macros from i686\nand x86_64 sysdeps folder.\n\nChecked on x86_64-linux-gnu and i686-linux-gnu.\n\n\t[BZ #18858]\n\t* sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):\n\tRemove define.\n\t* sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):\n\tLikewise.\n\t* sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):\n\tLikewise.\n\t* sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):\n\tLikewise.\n\t* sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):\n\tLikewise.\n\t* sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):\n\tLikewise.\n\t* sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):\n\tLikewise.\n---\n ChangeLog                             | 18 ++++++++++++++++++\n sysdeps/i386/i686/multiarch/strncpy.c |  1 -\n sysdeps/x86_64/multiarch/stpcpy.c     |  1 -\n sysdeps/x86_64/multiarch/strcspn.c    |  1 -\n sysdeps/x86_64/multiarch/strncat.c    |  1 -\n sysdeps/x86_64/multiarch/strncpy.c    |  1 -\n sysdeps/x86_64/multiarch/strpbrk.c    |  1 -\n sysdeps/x86_64/multiarch/strspn.c     |  1 -\n 8 files changed, 18 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/sysdeps/i386/i686/multiarch/strncpy.c b/sysdeps/i386/i686/multiarch/strncpy.c\nindex 24404f6..df1e625 100644\n--- a/sysdeps/i386/i686/multiarch/strncpy.c\n+++ b/sysdeps/i386/i686/multiarch/strncpy.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_strncpy 1\n # define strncpy __redirect_strncpy\n # include <string.h>\n # undef strncpy\ndiff --git a/sysdeps/x86_64/multiarch/stpcpy.c b/sysdeps/x86_64/multiarch/stpcpy.c\nindex b66237e..122cf90 100644\n--- a/sysdeps/x86_64/multiarch/stpcpy.c\n+++ b/sysdeps/x86_64/multiarch/stpcpy.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_stpcpy 1\n # define stpcpy __redirect_stpcpy\n # define __stpcpy __redirect___stpcpy\n # define NO_MEMPCPY_STPCPY_REDIRECT\ndiff --git a/sysdeps/x86_64/multiarch/strcspn.c b/sysdeps/x86_64/multiarch/strcspn.c\nindex 011f69a..6f4704f 100644\n--- a/sysdeps/x86_64/multiarch/strcspn.c\n+++ b/sysdeps/x86_64/multiarch/strcspn.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_strcspn 1\n # define strcspn __redirect_strcspn\n # include <string.h>\n # undef strcspn\ndiff --git a/sysdeps/x86_64/multiarch/strncat.c b/sysdeps/x86_64/multiarch/strncat.c\nindex d359e16..6a41653 100644\n--- a/sysdeps/x86_64/multiarch/strncat.c\n+++ b/sysdeps/x86_64/multiarch/strncat.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_strncat 1\n # define strncat __redirect_strncat\n # include <string.h>\n # undef strncat\ndiff --git a/sysdeps/x86_64/multiarch/strncpy.c b/sysdeps/x86_64/multiarch/strncpy.c\nindex 7b71cb9..361fd5a 100644\n--- a/sysdeps/x86_64/multiarch/strncpy.c\n+++ b/sysdeps/x86_64/multiarch/strncpy.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_strncpy 1\n # define strncpy __redirect_strncpy\n # include <string.h>\n # undef strncpy\ndiff --git a/sysdeps/x86_64/multiarch/strpbrk.c b/sysdeps/x86_64/multiarch/strpbrk.c\nindex 65453df..b69cd73 100644\n--- a/sysdeps/x86_64/multiarch/strpbrk.c\n+++ b/sysdeps/x86_64/multiarch/strpbrk.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_strpbrk 1\n # define strpbrk __redirect_strpbrk\n # include <string.h>\n # undef strpbrk\ndiff --git a/sysdeps/x86_64/multiarch/strspn.c b/sysdeps/x86_64/multiarch/strspn.c\nindex 942e07a..6065b39 100644\n--- a/sysdeps/x86_64/multiarch/strspn.c\n+++ b/sysdeps/x86_64/multiarch/strspn.c\n@@ -19,7 +19,6 @@\n \n /* Define multiple versions only for the definition in libc.  */\n #if IS_IN (libc)\n-# define _HAVE_STRING_ARCH_strspn 1\n # define strspn __redirect_strspn\n # include <string.h>\n # undef strspn\n",
    "prefixes": [
        "COMMITTED"
    ]
}