GNU bug report logs - #7214
sort --debug maps large old-style field number to 0 in diagnostic

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Thu, 14 Oct 2010 10:03:02 UTC

Severity: normal

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 7214 <at> debbugs.gnu.org
Subject: Re: bug#7214: sort --debug maps large old-style field number to 0 in
 diagnostic
Date: Mon, 15 Oct 2018 11:27:28 -0600
tags 7214 wontfix
close 7214
stop

(triaging old bugs)

On 14/10/10 10:48 AM, Paul Eggert wrote:
> On 10/14/10 05:44, Jim Meyering wrote:
>>>         *val = SIZE_MAX;
>>>> +      if (debug) /* Note --debug must come before keys to diagnose this.  */
>>>> +        error (0, 0, _("%" PRIuMAX " is too large, using %zu"), n, *val);
>> That does sound like an improvement (that would require comment changes),
> 
> No, it's better to silently treat large field numbers as if they were infinity.
> 

8 years later, the change has not been committed - so closing as "wontfix".

-assaf






This bug report was last modified 6 years and 277 days ago.

Previous Next


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