X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=acadnRg5ZqibDd66seDLCQbaYwaGC94sgp0KhQlhhT7
	fr9bwvzlPQB7s/75EUABTPU6TkpCpFbz9DEuEaBw1Ferv3AP+gEbRtqZT5EJ11Ir
	YG96rd+b9d8OKwAOtp8X8aB+xpyX5o6+K0qLWtWGKoduyPDXTcitwOhPayFbNOzw
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=gUNUvjRV/BgrYVq0j5ieA63J9F0=; b=rjGOOM5+UgvTtE9ft
	1QOyglW5DQMcnmOUB/S1hcf2C/C8p/X7xm5XYBm1Bx+TZfwA+Nfx/A5LEevYjZJg
	AzCVVlJV3+T2DSJB7JZAbPSFfDxoQprVa5kKh8nUPek7ow/eOGtL4zfMhSJt5IIJ
	RMSsSS/2qIld4+gm/5zh++9wkw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,SPF_PASS autolearn=ham version=3.3.1 spammy=gnus, Eggen, 8.26-2, eggen
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5DF2EA65.3070908@tlinx.org>
Date: Thu, 12 Dec 2019 17:33:25 -0800
From: L A Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bug in "factor" (coreutils: GNU core utilities (8.26-2), 64bit edition)
References: <419742808.11690190.1576136217387.ref@mail.yahoo.com> <419742808.11690190.1576136217387@mail.yahoo.com>
In-Reply-To: <419742808.11690190.1576136217387@mail.yahoo.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2019/12/11 23:36, Bernd Eggen wrote:
> Hello,
> Some time ago I found that the Cygwin-64 "factor" command did not seem to terminate with certain numbers, eg try:
>   -> echo '3401347*3861211*12099721' | bc | factor
>
> The developers provided a fix (in GNU coreutils 8.29), however, after some two years I still find the faulty factor command in the current Cygwin distribution.
> When are you planning to upgrade ?
> Cheers, Bernd
> PS I think this only affects 64bit version
>   
Wow...  The source for factor should be easy to build .. like grab from
gnu's website...(goog) tells me this link should work:
https://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz

untar it and run configure in the dir where it was
extracted, then run "make" in the same dir.

You'll find factor in "src/factor".

Or you could also get the cygwin source package (in setup
checkmark the src package) and substitute in the new
coreutils package, and adjust any
needed paths in the cygwin make package, then you'd have
an installable cygwin package rather than just a binary of
factor...

Just thinking out-loud, mostly, if I really needed it
that is...
But dunnow how complicated their packaging is...

-linda


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

