GNU bug report logs - #24311
[PATCH] maint: accommodate LP64 systems

Previous Next

Package: diffutils;

Reported by: Peter Rosin <peda <at> lysator.liu.se>

Date: Fri, 26 Aug 2016 08:43:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Grünbacher <agruen <at> gnu.org>
To: 24311 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>,
 peda <at> lysator.liu.se
Cc: 24311-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#24311: bug#24311: bug#24311: [PATCH] maint:
 accommodate LP64 systems
Date: Sun, 28 Aug 2016 00:39:34 +0200
2016-08-28 0:07 GMT+02:00 Paul Eggert <eggert <at> cs.ucla.edu>:
> On further thought, I came up with a patch that should be portable without
> overly complicating the code or hurting efficiency, so I installed it
> (attached). Please give it a try on your platform.

FWIW, patch has the following typedef for line numbers:

  typedef off_t lin;

Maybe it would be time to switch to int64_t / uint64_t and PRId64 /
PRIu64 in diff as well as in patch?

Andreas




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

Previous Next


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