From: David Bremner Date: Fri, 23 Aug 2013 16:06:05 +0000 (+0200) Subject: Re: [PATCH 4/4] timegm: add portable implementation (Solaris support) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=154408363621afde74f79aee789f14a5d5041c90;p=notmuch-archives.git Re: [PATCH 4/4] timegm: add portable implementation (Solaris support) --- diff --git a/22/918b14f25494cb9c945a1e988405532a7ed297 b/22/918b14f25494cb9c945a1e988405532a7ed297 new file mode 100644 index 000000000..cd9625309 --- /dev/null +++ b/22/918b14f25494cb9c945a1e988405532a7ed297 @@ -0,0 +1,71 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1A2D6431FCF + for ; Sat, 24 Aug 2013 02:11:50 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.804 +X-Spam-Level: +X-Spam-Status: No, score=0.804 tagged_above=-999 required=5 + tests=[DATE_IN_PAST_12_24=0.804] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id TmSYEGSdbKkv for ; + Sat, 24 Aug 2013 02:11:42 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 58D8B431FBF + for ; Sat, 24 Aug 2013 02:11:42 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1VD9si-0007lo-E1; Sat, 24 Aug 2013 06:11:40 -0300 +Received: (nullmailer pid 8347 invoked by uid 1000); Fri, 23 Aug 2013 + 16:06:05 -0000 +From: David Bremner +To: Vladimir.Marek@oracle.com, notmuch@notmuchmail.org +Subject: Re: [PATCH 4/4] timegm: add portable implementation (Solaris support) +In-Reply-To: <1377083394-29755-1-git-send-email-Vladimir.Marek@oracle.com> +References: + <1377083394-29755-1-git-send-email-Vladimir.Marek@oracle.com> +User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Fri, 23 Aug 2013 18:06:05 +0200 +Message-ID: <87zjs8bdea.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 24 Aug 2013 09:11:50 -0000 + +Vladimir.Marek@oracle.com writes: + +> From: Blake Jones +> +> The timegm(3) function is a non-standard extension to libc which is +> available in GNU libc and on some BSDs. Although SunOS had this +> function in its libc, Solaris (unfortunately) removed it. This patch +> implements a very simple version of timegm() which is good enough for +> parse-time-string.c. + +I pushed these 4 patches, with the small amendment of + + s/Written by Blake Jones/Copyright 2013 Blake Jones/ + +Hope that's ok + +d + +