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: Tue, 09 Oct 2018 18:09:31 +0300 Message-ID: <838t37yx5g.fsf@gnu.org> References: <83y3bh2gns.fsf@gnu.org> <13abcc70-0e5b-0d5f-fffc-9b146743a565@cs.ucla.edu> <83a7nt3dac.fsf@gnu.org> <8336th1w0l.fsf@gnu.org> <83va6dyx69.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1539098106 23352 195.159.176.226 (9 Oct 2018 15:15:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2018 15:15:06 +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 Tue Oct 09 17:15:02 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 1g9tiv-0005vV-Ih for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Oct 2018 17:15:01 +0200 Original-Received: from localhost ([::1]:52460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9tl2-00036Q-6J for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Oct 2018 11:17:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9teA-0006lQ-EB for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2018 11:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9te6-0005Mi-Db for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2018 11:10:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38215) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9te6-0005MI-7J for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2018 11:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g9te5-000378-VC for bug-gnu-emacs@gnu.org; Tue, 09 Oct 2018 11:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Oct 2018 15:10:01 +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.153909778711944 (code B ref 32902); Tue, 09 Oct 2018 15:10:01 +0000 Original-Received: (at 32902) by debbugs.gnu.org; 9 Oct 2018 15:09:47 +0000 Original-Received: from localhost ([127.0.0.1]:42473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9tdr-00036a-0N for submit@debbugs.gnu.org; Tue, 09 Oct 2018 11:09:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9tdp-00036J-0i for 32902@debbugs.gnu.org; Tue, 09 Oct 2018 11:09:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9tdf-00057A-RN for 32902@debbugs.gnu.org; Tue, 09 Oct 2018 11:09:39 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9tdf-00056j-Kl; Tue, 09 Oct 2018 11:09:35 -0400 Original-Received: from [176.228.60.248] (port=2995 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g9tdf-0001s9-1c; Tue, 09 Oct 2018 11:09:35 -0400 In-reply-to: (message from Paul Eggert on Sun, 7 Oct 2018 22:18:12 -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:151047 Archived-At: > Cc: 32902@debbugs.gnu.org > From: Paul Eggert > Date: Sun, 7 Oct 2018 22:18:12 -0700 > > > Microsoft made an incompatible change in its runtime libraries > > around Windows Vista, and switched to 64-bit time_t even on 32-bit > > systems. Since we still try to support older Windows versions, we > > must use that kludge, and we must limit ourselves to 32-bit time_t in > > 32-bit builds. > > Here are some possible suggestions: > > 1. Redefine 'struct timespec' and 'clock_gettime' on 32-bit MinGW so that they > use 32-bit time_t only. The redefinitions would be visible only within Emacs; > you wouldn't actually change MinGW. > > 2. Have Emacs w32*.c detect the width of the MS-Windows API's time_t at runtime, > and if necessary convert between any 32-bit time_t on the MS-Windows side and > the 64-bit time_t visible to the rest of the Emacs C code. > > 3. Build one Emacs executable for 32-bit MS-Windows Vista and later (with 64-bit > time_t), and another one for 32-bit MS-Windows XP and older (with 32-bit time_t). > > Any of these would insulate the rest of Emacs from this glitch. The last two are undesirable, since it is generally expected of a single Windows binary to run on all supported systems; having 2 separate binaries is possible, but complicates the matters. I will try to look into the first alternative, not sure if its feasible. > > drop support for older Windows systems. > > Microsoft itself has dropped support for the older MS-Windows systems in > question, and it would be fine if Emacs dropped support too. We routinely drop > support for obsolete and no-longer-maintained operating system versions like > RHEL 5 and Irix 6.5. I don't think we should follow Microsoft in their decisions. Last time this came up, we decided not to drop support even for Windows 9X, and here we are talking about XP and older. We still have a few years to make that decision.