From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32902: Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps Date: Sun, 07 Oct 2018 20:55:54 +0300 Message-ID: <8336th1w0l.fsf@gnu.org> References: <83y3bh2gns.fsf@gnu.org> <13abcc70-0e5b-0d5f-fffc-9b146743a565@cs.ucla.edu> <83a7nt3dac.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1538934908 28272 195.159.176.226 (7 Oct 2018 17:55:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2018 17:55:08 +0000 (UTC) Cc: 32902@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 19:55:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9DGe-0007Ah-US for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2018 19:55:01 +0200 Original-Received: from localhost ([::1]:43116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9DIl-0007Of-Ma for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2018 13:57:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9DIf-0007Oa-TI for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 13:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9DIc-00045K-NK for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 13:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35338) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9DIc-00045E-IL for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 13:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g9DIc-0005YQ-Da for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Oct 2018 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32902 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 32902-submit@debbugs.gnu.org id=B32902.153893497621292 (code B ref 32902); Sun, 07 Oct 2018 17:57:02 +0000 Original-Received: (at 32902) by debbugs.gnu.org; 7 Oct 2018 17:56:16 +0000 Original-Received: from localhost ([127.0.0.1]:39596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9DHs-0005XM-4c for submit@debbugs.gnu.org; Sun, 07 Oct 2018 13:56:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9DHq-0005X9-3K for 32902@debbugs.gnu.org; Sun, 07 Oct 2018 13:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9DHh-0003aa-DW for 32902@debbugs.gnu.org; Sun, 07 Oct 2018 13:56:08 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9DHh-0003aU-9U; Sun, 07 Oct 2018 13:56:05 -0400 Original-Received: from [176.228.60.248] (port=1958 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9DHg-0004Uq-Na; Sun, 07 Oct 2018 13:56:05 -0400 In-reply-to: (message from Paul Eggert on Sat, 6 Oct 2018 23:32:00 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150985 Archived-At: > Cc: 32902-done@debbugs.gnu.org > From: Paul Eggert > Date: Sat, 6 Oct 2018 23:32:00 -0700 > > Eli Zaretskii wrote: > > OK, but can we call the new file something like timefns.c? > > Sure, that's easy enough. I revamped the patches to do that and installed them > into master. Closing the bug report. Thanks. I saw a compilation problem with mingw.org's MinGW: timefns.c: In function 'lisp_to_timespec': timefns.c:899:21: warning: passing argument 2 of 'mpz_time' from incompatible pointer type [-Wincompatible-pointer-types] if (mpz_time (*q, &result.tv_sec)) ^ timefns.c:828:1: note: expected 'time_t * {aka long int *}' but argument is of type '__time64_t * {aka long long int *}' mpz_time (mpz_t const z, time_t *t) ^~~~~~~~ I fixed it, but please take a look, perhaps there's a better fix for this situation.