From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#58224: 29.0.50; "make bootstrap" spuriously warns: "comp.el newer than byte-compiled file" Date: Sun, 2 Oct 2022 16:46:01 +0000 Message-ID: References: <83fsg7bnt0.fsf@gnu.org> <83r0zqahqj.fsf@gnu.org> <83y1ty1o7r.fsf@gnu.org> <83k05i1asd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21449"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, stefankangas@gmail.com, 58224@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 18:47:12 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 1of27T-0005QS-Mi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 18:47:11 +0200 Original-Received: from localhost ([::1]:39412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of27S-0000G0-Jz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 12:47:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of27L-0000Fq-1n for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 12:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1of27K-00082V-Jt for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 12:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1of27K-0007cI-9B for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58224 X-GNU-PR-Package: emacs Original-Received: via spool by 58224-submit@debbugs.gnu.org id=B58224.166472917029214 (code B ref 58224); Sun, 02 Oct 2022 16:47:02 +0000 Original-Received: (at 58224) by debbugs.gnu.org; 2 Oct 2022 16:46:10 +0000 Original-Received: from localhost ([127.0.0.1]:47899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of26U-0007b8-H6 for submit@debbugs.gnu.org; Sun, 02 Oct 2022 12:46:10 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:62107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of26S-0007al-NE for 58224@debbugs.gnu.org; Sun, 02 Oct 2022 12:46:09 -0400 Original-Received: (qmail 88764 invoked by uid 3782); 2 Oct 2022 18:46:02 +0200 Original-Received: from acm.muc.de (p2e5d502a.dip0.t-ipconnect.de [46.93.80.42]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 02 Oct 2022 18:46:01 +0200 Original-Received: (qmail 4794 invoked by uid 1000); 2 Oct 2022 16:46:01 -0000 Content-Disposition: inline In-Reply-To: <83k05i1asd.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:244243 Archived-At: Hello, Eli. On Sun, Oct 02, 2022 at 18:54:10 +0300, Eli Zaretskii wrote: > > Date: Sun, 2 Oct 2022 15:38:25 +0000 > > Cc: stefankangas@gmail.com, 58224@debbugs.gnu.org > > From: Alan Mackenzie > > In lread.c I've got: > > struct timespec epoch_timespec = {(time_t)0, 0}; /* 1970-01-01T00:00 UTC */ > > , which clearly isn't satisfactory. > I'm not sure I follow: why not satisfactory? Don't we build for operating systems with different epochs? > > Can you (or anybody else) give me a clue as how to convert a human > > readable time into a struct timespec? I've spent most of the > > afternoon searching and grepping lots of .h files, and haven't come > > up with anything, yet. > Is mktime the function you are after? Yes thanks! But it's horribly complicated, involving wierd readings and settings of the TZ environment variable, and so on. If a binary zero time would do (as above), maybe it would be satisfactory. ;-) -- Alan Mackenzie (Nuremberg, Germany).