GNU bug report logs - #25663
verify macro in system.h incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio

Previous Next

Package: diffutils;

Reported by: Kees Dekker <Kees.Dekker <at> infor.com>

Date: Thu, 9 Feb 2017 13:17:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Kees Dekker <Kees.Dekker <at> infor.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, "25663 <at> debbugs.gnu.org" <25663 <at> debbugs.gnu.org>
Subject: bug#25663: [bug-diffutils] bug#25663: verify macro in system.h incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio
Date: Fri, 10 Feb 2017 12:37:29 +0000
>> If you have an additional source of information, it would be great. I'm new to git, so I will try to do so.

>I'm afraid it's not written down in a central location. There are books about 
>Git and it's not that hard to pick up. You can look at the Emacs CONTRIBUTE file 
>for some advice about commit messages.

>http://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE

The quick fix is not more or less than adding:

#ifndef _WIN64
verify (sizeof (lin) <= sizeof (long int));
#endif

Line numbers beyond 2^32 are also IMO hypothetical...

I'm fine with this quick 'fix'.

This bug report was last modified 8 years and 123 days ago.

Previous Next


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