From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean Sieger Newsgroups: gmane.emacs.devel Subject: Re: windows build failure Date: Mon, 14 Oct 2013 14:02:56 -0400 Message-ID: <87ppr77msv.fsf@gmail.com> References: <83wqmeocl5.fsf@gnu.org> <83ioxynvpb.fsf@gnu.org> <87zjrae0q7.fsf@gmail.com> <83eh8mnu8h.fsf@gnu.org> <87ob7qdzxj.fsf@gmail.com> <83a9janq2l.fsf@gnu.org> <87bo3oew5i.fsf@gmail.com> <83wqmclwja.fsf@gnu.org> <8761twemxb.fsf@gmail.com> <83txhglke0.fsf@gnu.org> <871u4keezm.fsf@gmail.com> <83pps4kl3s.fsf@gnu.org> <87vc1v4lld.fsf@gmail.com> <834n9fle10.fsf@gnu.org> <87k3ib4fl7.fsf@gmail.com> <8338ozl7cd.fsf@gnu.org> <83bo2ur4yq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381773801 2104 80.91.229.3 (14 Oct 2013 18:03:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Oct 2013 18:03:21 +0000 (UTC) Cc: eliz@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 14 20:03:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VVmUG-0001kw-7m for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2013 20:03:24 +0200 Original-Received: from localhost ([::1]:38204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVmUF-0004Yh-Sw for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2013 14:03:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVmU7-0004YV-ID for emacs-devel@gnu.org; Mon, 14 Oct 2013 14:03:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVmU1-0007nX-Jo for emacs-devel@gnu.org; Mon, 14 Oct 2013 14:03:15 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVmU1-0007n2-CN for emacs-devel@gnu.org; Mon, 14 Oct 2013 14:03:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VVmTz-0001Yt-Ao for emacs-devel@gnu.org; Mon, 14 Oct 2013 20:03:07 +0200 Original-Received: from pool-74-101-83-135.nycmny.east.verizon.net ([74.101.83.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Oct 2013 20:03:07 +0200 Original-Received: from sean.sieger by pool-74-101-83-135.nycmny.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Oct 2013 20:03:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-74-101-83-135.nycmny.east.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) Cancel-Lock: sha1:5cMvM7FxxqCPeW4YGA65g1prkV8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164210 Archived-At: C:\trunk\src\emacs -Q c*.c Gives the correct result. Eli Zaretskii writes: I tried to fix this problem in trunk revision 114637. If you (or someone else who would like to move to the new MinGW runtime) have time, please re-test with v4.0 of the MinGW runtime. Please also try the various time-related functions, such as decode-time, encode-time, format-time-string, and current-time-string. This is because MinGW32 runtime 4.0 also moved to using a 64-bit time_t type by default, which according to my testing screws up Emacs, especially if it was built on Windows 7 and then run on XP. So for now, I forced the MinGW32 headers to use a 32-bit time_t type. This needs to be thoroughly tested, though. Thanks. Sorry, how to `try' decode-time, encode-time, format-time-string, and current-time-string? I am reading *Help* on each ... > At the time, I tried to convince the MinGW developers not to do this, > here: > > http://sourceforge.net/mailarchive/message.php?msg_id=29278605 > http://sourceforge.net/mailarchive/message.php?msg_id=30712991 > http://sourceforge.net/mailarchive/message.php?msg_id=30715094 > http://sourceforge.net/mailarchive/message.php?msg_id=30854291 > > Evidently, I failed completely to convince them, as the incompatible > runtime went to print regardless, and the problems will now begin > unfolding before our eyes... Well, it turns out the MinGW developers might be listening after all, at least to some of the arguments: I'm promised that the next release of the runtime will not call opendir/readdir from the startup code. We shall see... Thank you, Eli.