GNU bug report logs - #6754
TIME_WITH_SYS_TIME in nt/config.nt and src/s/ms-w32.h

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Thu, 29 Jul 2010 16:00:03 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6754 in the body.
You can then email your comments to 6754 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6754; Package emacs. (Thu, 29 Jul 2010 16:00:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: TIME_WITH_SYS_TIME in nt/config.nt and src/s/ms-w32.h
Date: Thu, 29 Jul 2010 11:59:15 -0400
nt/config.nt:#undef TIME_WITH_SYS_TIME

src/s/ms-w32.h:#define TIME_WITH_SYS_TIME 1

These seems to contradict each other. Aren't these files used on the same platform?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6754; Package emacs. (Thu, 29 Jul 2010 16:41:02 GMT) Full text and rfc822 format available.

Message #6 received at 6754 <at> debbugs.gnu.org (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6754 <at> debbugs.gnu.org
Subject: Re: bug#6754: TIME_WITH_SYS_TIME in nt/config.nt and src/s/ms-w32.h
Date: Thu, 29 Jul 2010 18:40:33 +0200
Dan Nicolaescu <dann <at> gnu.org> writes:

> nt/config.nt:#undef TIME_WITH_SYS_TIME
>
> src/s/ms-w32.h:#define TIME_WITH_SYS_TIME 1
>
> These seems to contradict each other. Aren't these files used on the
> same platform?

Yes.

It is clear that config.nt and msw-32.h are trying to be the same.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6754; Package emacs. (Thu, 29 Jul 2010 17:57:01 GMT) Full text and rfc822 format available.

Message #9 received at 6754 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Nicolaescu <dann <at> gnu.org>
Cc: 6754 <at> debbugs.gnu.org
Subject: Re: bug#6754: TIME_WITH_SYS_TIME in nt/config.nt and src/s/ms-w32.h
Date: Thu, 29 Jul 2010 20:55:31 +0300
> From: Dan Nicolaescu <dann <at> gnu.org>
> Date: Thu, 29 Jul 2010 11:59:15 -0400
> Cc: 
> 
> 
> nt/config.nt:#undef TIME_WITH_SYS_TIME
> 
> src/s/ms-w32.h:#define TIME_WITH_SYS_TIME 1
> 
> These seems to contradict each other. Aren't these files used on the same platform?

It seems to be a left-over from long ago.  Once upon a time, Windows
headers didn't have sys/time.h (MSVC still doesn't, but MinGW now
does), so nt/config.nt disabled its use.  Later, nt/inc/sys/time.h was
added to work around this, but the #undef was not removed.  Since
ms-w32.h is included _after_ the #undef, it did no harm.

Bottom line: the #undef in config.nt can be removed.




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Mon, 02 Aug 2010 23:25:02 GMT) Full text and rfc822 format available.

Notification sent to Dan Nicolaescu <dann <at> gnu.org>:
bug acknowledged by developer. (Mon, 02 Aug 2010 23:25:02 GMT) Full text and rfc822 format available.

Message #14 received at 6754-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Dan Nicolaescu <dann <at> gnu.org>, 6754-done <at> debbugs.gnu.org
Subject: Re: bug#6754: TIME_WITH_SYS_TIME in nt/config.nt and src/s/ms-w32.h
Date: Tue, 3 Aug 2010 01:24:47 +0200
On Thu, Jul 29, 2010 at 19:55, Eli Zaretskii <eliz <at> gnu.org> wrote:

> Bottom line: the #undef in config.nt can be removed.

Done.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 Aug 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.