GNU bug report logs - #12753
printf in make-prime-list.c uses "modern" features

Previous Next

Package: coreutils;

Reported by: John David Anglin <dave.anglin <at> nrc-cnrc.gc.ca>

Date: Sun, 28 Oct 2012 19:43:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#12753: closed (printf in make-prime-list.c uses "modern"
 features)
Date: Sun, 04 Nov 2012 00:59:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 04 Nov 2012 00:55:17 +0000
with message-id <5095BCF5.8040604 <at> draigBrady.com>
and subject line Re: bug#12753: printf in make-prime-list.c uses "modern" features
has caused the debbugs.gnu.org bug report #12753,
regarding printf in make-prime-list.c uses "modern" features
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
12753: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12753
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: John David Anglin <dave <at> hiauly1.hia.nrc.ca>
To: bug-coreutils <at> gnu.org
Cc: John David Anglin <dave <at> hiauly1.hia.nrc.ca>
Subject: printf in make-prime-list.c uses "modern" features
Date: Sun, 28 Oct 2012 15:40:23 -0400
[Message part 3 (text/plain, inline)]
make-prime-list crashes on hppa1.1-hp-hpux10.20.  This probably
will occur on any hppa-hpux system.

Attached is a hack to work around the problem.

Dave
-- 
J. David Anglin                                  dave.anglin <at> nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
[make-prime-list.c.d (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: John David Anglin <dave.anglin <at> bell.net>
Cc: John David Anglin <dave <at> hiauly1.hia.nrc.ca>, 12753-done <at> debbugs.gnu.org
Subject: Re: bug#12753: printf in make-prime-list.c uses "modern" features
Date: Sun, 04 Nov 2012 00:55:17 +0000
On 10/29/2012 12:22 PM, John David Anglin wrote:
> On 28-Oct-12, at 9:57 PM, Pádraig Brady wrote:
>
>> Is %jx not supported, or is the * not supported with %j?
>> I'm guessing the latter since you got a runtime issue
>> rather than a compile time one.  We also use '*' in
>> other format strings, so I doubt that's an issue in itself.
>
>
> I will test this evening.  The printf manpage doesn't mention %j
> or * in the HP-UX 10.20 and 11.11 pages.  Sometimes things
> are supported but not documented.

I've now pushed the patch set from this thread,
so I'm marking this as done.

cheers,
Pádraig.


This bug report was last modified 12 years and 205 days ago.

Previous Next


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