get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 811196,
    "url": "http://patchwork.ozlabs.org/api/patches/811196/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170907224219.12483-3-albert.aribaud@3adev.fr/",
    "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": "<20170907224219.12483-3-albert.aribaud@3adev.fr>",
    "list_archive_url": null,
    "date": "2017-09-07T22:41:29",
    "name": "[RFC,02/52] Y2038: add function __difftime64",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "eb732ac61fcd2f8dc306ba40f918e1e7c4eba34b",
    "submitter": {
        "id": 65557,
        "url": "http://patchwork.ozlabs.org/api/people/65557/?format=api",
        "name": "Albert ARIBAUD (3ADEV)",
        "email": "albert.aribaud@3adev.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170907224219.12483-3-albert.aribaud@3adev.fr/mbox/",
    "series": [
        {
            "id": 2074,
            "url": "http://patchwork.ozlabs.org/api/series/2074/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=2074",
            "date": "2017-09-07T22:41:27",
            "name": "Make GLIBC Y2038-proof",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2074/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/811196/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/811196/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-84320-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-84320-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=\"fngUaLFt\"; 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 3xpFpV5LXxz9sCZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 08:42:58 +1000 (AEST)",
            "(qmail 57622 invoked by alias); 7 Sep 2017 22:42:38 -0000",
            "(qmail 57523 invoked by uid 89); 7 Sep 2017 22:42:38 -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:cc:subject:date:message-id:in-reply-to\n\t:references; q=dns; s=default; b=aIDUZVNLw0G/DjR8YGqOBVjzuwR0h3a\n\td2tCMxBVYWWrpp6nQIOOCxXGPuYE9bvuICaFePmdQJsWXn8EXpSCwtWZADSAYTyl\n\tlAlLJSZiAf1HZUWqWcfzBeLSJ66fqxvbNK9OpEjYPNq7mN29wNa97E9EhcyFDvpo\n\tsRuTPSA/lucs=",
        "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:cc:subject:date:message-id:in-reply-to\n\t:references; s=default; bh=jjlwUHSLg1yQPLPxhcJ0dWBSirg=; b=fngUa\n\tLFt6SQ6dFuzEYF7PTGnOzV4v/UhiDhdH+PrBuqZJTHAFVbkuFTPr/wPRla+qjRdZ\n\tJ2/s1I25Cpfk6lcwSMZQRpLLdiedbhntx9c+4XIbBNloShCnjBDQerh1Wc9Lagjq\n\trqqO/7rZZ+MxCyQsoaS0nutfrbAA/AwyiGATSE=",
        "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.6 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=",
        "X-HELO": "smtp6-g21.free.fr",
        "From": "\"Albert ARIBAUD (3ADEV)\" <albert.aribaud@3adev.fr>",
        "To": "libc-alpha@sourceware.org",
        "Cc": "\"Albert ARIBAUD (3ADEV)\" <albert.aribaud@3adev.fr>",
        "Subject": "[RFC PATCH 02/52] Y2038: add function __difftime64",
        "Date": "Fri,  8 Sep 2017 00:41:29 +0200",
        "Message-Id": "<20170907224219.12483-3-albert.aribaud@3adev.fr>",
        "In-Reply-To": "<20170907224219.12483-2-albert.aribaud@3adev.fr>",
        "References": "<20170907224219.12483-1-albert.aribaud@3adev.fr>\n\t<20170907224219.12483-2-albert.aribaud@3adev.fr>"
    },
    "content": "Note: the implementation expects __time64_t arguments but returns\na double like its 32-bit-time counterpart, in order to remain as\nsource-code-compatible as possible, even though the precision of a\ndouble is only about 55 bits.\n\nThe implementation is simpler than its 32-bit counterpart, as it\nassumes that all __time64_t implementations are just 64-bit integers.\n\nAlso, the implementation does not require a Y2038-proof kernel.\n\nSigned-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>\n---\n sysdeps/unix/sysv/linux/arm/Versions | 7 +++++++\n time/difftime.c                      | 9 +++++++++\n 2 files changed, 16 insertions(+)",
    "diff": "diff --git a/sysdeps/unix/sysv/linux/arm/Versions b/sysdeps/unix/sysv/linux/arm/Versions\nindex 7e5ba53455..d3655768c8 100644\n--- a/sysdeps/unix/sysv/linux/arm/Versions\n+++ b/sysdeps/unix/sysv/linux/arm/Versions\n@@ -16,4 +16,11 @@ libc {\n     # nptl/pthread_cond_timedwait.c uses INTERNAL_VSYSCALL(clock_gettime).\n     __vdso_clock_gettime;\n   }\n+\n+  # Y2038 symbols are given their own version until they can be put in\n+  # the right place\n+\n+  GLIBC_Y2038 {\n+    __difftime64;\n+  }\n }\ndiff --git a/time/difftime.c b/time/difftime.c\nindex e5e3311744..1b2494c727 100644\n--- a/time/difftime.c\n+++ b/time/difftime.c\n@@ -119,3 +119,12 @@ __difftime (time_t time1, time_t time0)\n   return time1 < time0 ? - subtract (time0, time1) : subtract (time1, time0);\n }\n strong_alias (__difftime, difftime)\n+\n+/* Return the difference between 64-bit TIME1 and TIME0.  */\n+double\n+__difftime64 (__time64_t time1, __time64_t time0)\n+{\n+  /* Subtract the smaller integer from the larger, convert the difference to\n+     double, and then negate if needed.  */\n+  return time1 < time0 ? - (time0 - time1) : (time1 - time0);\n+}\n",
    "prefixes": [
        "RFC",
        "02/52"
    ]
}