From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones Date: Wed, 20 Apr 2022 12:23:43 -0700 Organization: UCLA Computer Science Department Message-ID: References: <5ed963b2-3fa8-48d8-627e-bc0571d15b43@gmail.com> <149de00f-115b-5367-414f-c7700ef8966b@cs.ucla.edu> <2dd15844-01b3-0144-740c-185ec8488a81@cs.ucla.edu> <4a23f3a4-fe8f-d396-49d8-10034803be63@gmail.com> <52fb10fb-892a-f273-3be8-28793f27e204@cs.ucla.edu> <5cd820d4-ae67-43d4-9e63-c284d51ff1e4@gmail.com> <83tuapvcxs.fsf@gnu.org> <6efc5d24-34a2-fd30-cd20-fe4ac3e48310@cs.ucla.edu> <83fsm8tdzl.fsf@gnu.org> <9e4781b2-2ffa-b1ce-09b4-ead82cad9038@cs.ucla.edu> <83ilr3siku.fsf@gnu.org> <4e41671c-fae8-61c4-845c-4c7ba4317e88@cs.ucla.edu> <83fsm7sh2s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2098"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Cc: emacs-orgmode@gnu.org, manikulin@gmail.com, bug-gnulib@gnu.org, 54764@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 21:54:05 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhGOq-0000QK-Kt for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 21:54:04 +0200 Original-Received: from localhost ([::1]:40226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhGOp-0004ft-In for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 15:54:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhFvm-0004w3-5J for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 15:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhFvl-0004MR-SK for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 15:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhFvl-0001AW-IY for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 15:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2022 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 54764-submit@debbugs.gnu.org id=B54764.16504826324476 (code B ref 54764); Wed, 20 Apr 2022 19:24:01 +0000 Original-Received: (at 54764) by debbugs.gnu.org; 20 Apr 2022 19:23:52 +0000 Original-Received: from localhost ([127.0.0.1]:47533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhFvc-0001A8-H9 for submit@debbugs.gnu.org; Wed, 20 Apr 2022 15:23:52 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhFvb-00019q-4w for 54764@debbugs.gnu.org; Wed, 20 Apr 2022 15:23:51 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5F4D81600D9; Wed, 20 Apr 2022 12:23:45 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9Ro2HlLYUt2f; Wed, 20 Apr 2022 12:23:44 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 95B3E1600D4; Wed, 20 Apr 2022 12:23:43 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id O4ocdPcUi5hH; Wed, 20 Apr 2022 12:23:43 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5C8041600CC; Wed, 20 Apr 2022 12:23:43 -0700 (PDT) Content-Language: en-US In-Reply-To: <83fsm7sh2s.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230332 Archived-At: On 4/20/22 12:14, Eli Zaretskii wrote: > Sorry, my bad. The result is the same, but I do get printouts. What > do you want to know or see from there? I want to see what the current_timespec's resolution is, which we should be able to tell from the debugging output. For example, on my Solaris 10 sparc platform the command 'gltests/test-gettime-res x' outputs: gettime_res returned 200 ns time = 1650482432.256445600 time = 1650482432.256460600 time = 1650482432.256464400 time = 1650482432.256468200 time = 1650482432.256471400 time = 1650482432.256474600 time = 1650482432.256478000 time = 1650482432.256481200 time = 1650482432.256484800 ... and these timestamps say that with very high probability current_timespec's clock resolution is indeed 200 ns.