<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/factor.c, branch v8.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-09-21T11:37:57Z</updated>
<entry>
<title>doc: mention the texinfo documentation in --help</title>
<updated>2009-09-21T11:37:57Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2009-09-18T22:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5d4f09d83a7c69110b4db97443759e9046c149e1'/>
<id>urn:sha1:5d4f09d83a7c69110b4db97443759e9046c149e1</id>
<content type='text'>
* src/system.h: Rename emit_bug_reporting_address() to
emit_ancillary_info() and update it to not print the translation
project address in en_* locales, and _do_ print it in the 'C'
(and other) locales so that it's included in the default man page.
Also mention how to invoke the texinfo documentation for each command.
Also move the "hard-locale.h" include to the 8 files that now use it.
* man/help2man: Strip the newly added texinfo reference from the
--help output as a more verbose version is already added by help2man.
Suggestion from C de-Avillez
</content>
</entry>
<entry>
<title>maint: use consistent cpp indentation in all .c files</title>
<updated>2009-09-13T20:05:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-09-13T20:05:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=255a6a201eaaef016ca909332f82bd86ef7d42ca'/>
<id>urn:sha1:255a6a201eaaef016ca909332f82bd86ef7d42ca</id>
<content type='text'>
* src/stty.c: Make cpp indentation reflect nesting.
* src/factor.c: Likewise.
</content>
</entry>
<entry>
<title>global: convert indentation-TABs to spaces</title>
<updated>2009-08-25T07:21:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-08-22T16:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e778f7c8d1ecf3d8f11385db013af2ba026e2a5'/>
<id>urn:sha1:5e778f7c8d1ecf3d8f11385db013af2ba026e2a5</id>
<content type='text'>
Transformed via this shell code:
t=$'\t'
git ls-files \
  | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
  | grep -vE 'tests/pr/|help2man' \
  | xargs grep -lE "^ *$t" \
  | xargs perl -MText::Tabs -ni -le \
    '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
</content>
</entry>
<entry>
<title>maint: use ARRAY_CARDINALITY more</title>
<updated>2009-05-17T11:59:12Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-17T11:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9593a3d8e78ece58deab5a30632021322bbc16d0'/>
<id>urn:sha1:9593a3d8e78ece58deab5a30632021322bbc16d0</id>
<content type='text'>
* src/sort.c (main): Use ARRAY_CARDINALITY, rather than open-coding it.
* src/factor.c (WHEEL_END): Likewise.
* src/csplit.c (main): Likewise.
* src/od.c: Likewise,
* src/ls.c (main): Likewise.
(N_ENTRIES): Remove definition.  Use ARRAY_CARDINALITY instead.
* src/dircolors.c: Likewise.
(array_len): Remove definition.
</content>
</entry>
<entry>
<title>maint: avoid new unused-macro warnings from gcc</title>
<updated>2009-03-06T10:49:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-03-06T09:49:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8b638f994abefde84746b3d8a08893c9ffeb7799'/>
<id>urn:sha1:8b638f994abefde84746b3d8a08893c9ffeb7799</id>
<content type='text'>
* src/ls.c (ASSERT_MATCHING_DEV_INO): Comment-out unused definition,
to match commented-out use.
* src/install.c (INITIAL_HASH_MODULE, INITIAL_ENTRY_TAB_SIZE):
(READ_SIZE): Remove definitions of unused macros.
* src/mv.c (INITIAL_HASH_MODULE, INITIAL_ENTRY_TAB_SIZE): Likewise.
* src/dd.c (max): Likewise.
* src/expand.c (OUTPUT_BLOCK): Likewise.
* src/csplit.c (ALLOC_SIZE): Likewise.
* src/pr.c (NULLCOL): Likewise.
* src/ptx.c (Sword): Likewise.
* src/unexpand.c (OUTPUT_BLOCK): Likewise.
* src/factor.c (NDEBUG): Likewise.
</content>
</entry>
<entry>
<title>seq: plug a leak</title>
<updated>2008-12-01T21:44:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-12-01T21:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e181802521d4e19e367dbe8cfa877296bb5dafb2'/>
<id>urn:sha1:e181802521d4e19e367dbe8cfa877296bb5dafb2</id>
<content type='text'>
* src/factor.c (emit_ul_factor): Call mpz_clear.
</content>
</entry>
<entry>
<title>factor: avoid compilation failure without libgmp</title>
<updated>2008-10-25T20:57:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-10-25T20:51:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=153477479abd5b4dfda5feb109e3ebf28a578bad'/>
<id>urn:sha1:153477479abd5b4dfda5feb109e3ebf28a578bad</id>
<content type='text'>
* src/factor.c (debug) [!HAVE_GMP]: Define.
Reported by Bob Proulx.
</content>
</entry>
<entry>
<title>factor: remove --bignum and --no-bignum options</title>
<updated>2008-10-25T19:05:41Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@CS.UCLA.EDU</email>
</author>
<published>2008-10-24T20:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fec0e89c20db8772854335382aceb260cb7abef2'/>
<id>urn:sha1:fec0e89c20db8772854335382aceb260cb7abef2</id>
<content type='text'>
Here's a patch to remove the --bignum and --no-bignum options from
'factor'.  The case for removing --bignum isn't as strong as that for
'expr', but still, it seems to me that these options are not needed and
complicate the documentation unnecessarily.

* doc/coreutils.texi (factor invocation): Remove --bignum, --no-bignum.
* src/factor.c (algorithm, ALGORITHM_CHOICE, USE_BIGNUM, NO_USE_BIGNUM):
Remove; all uses removed.
(extract_factors_multi): Remove, replacing with....
(print_factors_multi): New function, with signature similar to that
of new signature of print_factors_single.
(print_factors_single): Migrate checking code to caller.
(print_factors): Use GMP if it's available; don't bother asking user.
Improve accuracy of check for "large" numbers.
(long_options, main): Remove support for --bignum.
</content>
</entry>
<entry>
<title>factor: remove duplicate docstring; use the more detailed one</title>
<updated>2008-08-11T07:47:01Z</updated>
<author>
<name>Benno Schulenberg</name>
<email>bensberg@justemail.net</email>
</author>
<published>2008-08-09T12:52:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e4fd2bf4e659755551f6553c76bfd5d5319bba4c'/>
<id>urn:sha1:e4fd2bf4e659755551f6553c76bfd5d5319bba4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>factor: credit Torbjörn Granlund</title>
<updated>2008-08-04T07:11:19Z</updated>
<author>
<name>James Youngman</name>
<email>jay@gnu.org</email>
</author>
<published>2008-08-03T23:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ffc630e5989a23a9010926797619edc36f60925b'/>
<id>urn:sha1:ffc630e5989a23a9010926797619edc36f60925b</id>
<content type='text'>
* src/factor.c: Credit Torbjörn Granlund as the author of the
arbitrary-precision factorization code.
</content>
</entry>
</feed>
