summaryrefslogtreecommitdiff
path: root/src/factor.c
AgeCommit message (Collapse)Author
2005-09-11(usage): Remove leading spaces in 2-lineJim Meyering
description, so that help2man doesn't mangle it.
2005-06-16Don't embed `this'-style quotes in format strings.Jim Meyering
Include "quote.h". Rather than this: error (..., "...`%s'...", arg); do this: error (..., "...%s...", quote (arg));
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-03-06Remove `register' keyword.Jim Meyering
2004-12-07(factor): Don't list 1 as a factor of 1.Paul Eggert
Problem reported by Thomas Folz-Donahue.
2004-11-17(main): Use getopt_long rather than getopt.Paul Eggert
2004-09-21Include <getopt.h>.Paul Eggert
(main): Reject unknown options.
2004-08-03(wheel_tab): Use unsigned char instead of unsignedPaul Eggert
int, since it suffices. (factor, print_factors): Use size_t for sizes. (print_factors, do_stdin, main): Use bool for booleans.
2004-03-21(do_stdin): Reflect changes in use of readtoken.Jim Meyering
2004-01-21(usage): Use EXIT_SUCCESS, not 0, for clarity.Jim Meyering
(main): Do not report a usage error simply because stdin has bad numbers.
2003-11-05Cast NULL to `(char *)' in call to variadic function,Jim Meyering
parse_long_options, so that it works even on systems for which sizeof char* != sizeof int.
2003-10-18Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS changeJim Meyering
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-09-18(WRITTEN_BY): Rename from AUTHORS.Jim Meyering
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable.
2003-09-18revert previous changeJim Meyering
2003-09-18Update AUTHORS definition to be a comma-separated list of strings and/or updateJim Meyering
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
2003-09-14(print_factors): Give a separate diagnosticJim Meyering
for numbers that are too large, but otherwise valid.
2003-07-23Don't include headers already included by system.h:Jim Meyering
Don't include closeout.h.
2003-06-17(main): Call initialize_main.Jim Meyering
2002-11-05(print_factors):Jim Meyering
Use primitives from inttostr.h, not human.h, to print large numbers simply.
2002-08-31Change `exit (0)' to `exit (EXIT_SUCCESS)',Jim Meyering
`exit (1)' to `exit (EXIT_FAILURE)', and `usage (1)' to `usage (EXIT_FAILURE)'.
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2001-12-15Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf.
2001-11-25(usage): Indent --help and --version strings to start in the 7th column.Jim Meyering
2001-04-24Include wheel-size.h.Jim Meyering
(WHEEL_START): Adjust definition. (wheel_tab[]): Remove body of definition. Include generated file, wheel.h, instead.
2001-02-04(usage): Tweak --help output: it prints the _prime_Jim Meyering
factors, not just any factors.
2001-02-03Improve the performance of `factor' (more than 2x speed-up for large N).Jim Meyering
(wheel_tab): New global table. (WHEEL_START, WHEEL_END): Define. (factor): Remove the loop that special-cased `2'. Instead of incrementing by `2', use the offsets from the wheel table. From Michael Steffens.
2000-07-09update copyright dateJim Meyering
2000-05-07Include "closeout.h".Jim Meyering
(main): Call atexit with close_stdout.
2000-05-05Include "closeout.h".Jim Meyering
(main): Call close_stdout.
1999-05-03(main): Manually handle `--', since we no longer call getopt.Jim Meyering
1999-04-21update commentJim Meyering
1999-04-21<xstrtol.h>: Include this, not xstrtoul.h.Jim Meyering
<human.h>: Include. Use uintmax_t in place of unsigned long. Use human_readable to convert to strings for printing.
1999-03-31(PROGRAM_NAME, AUTHORS): Define and use.Jim Meyering
1999-03-04(main): Include author name argument in call to parse_long_options.Jim Meyering
1999-02-16update copyright datesJim Meyering
1999-01-25(usage): Remove static attribute.Jim Meyering
1998-09-26factor.cJim Meyering
1998-09-19update bug-reporting addressJim Meyering
1998-06-29revert back to using lower case _unlocked wrapper namesJim Meyering
1998-06-29Change all uses of unlocked-wrapped functions to their upper case wrapper names.Jim Meyering
1997-12-21Don't include limits.h.Jim Meyering
(UINT_MAX): Don't define. (INT_MAX): Don't define. These are all done in system.h now.
1997-10-07update bug-reporting addressJim Meyering
1997-05-01indent cpp-directivesJim Meyering
1997-02-20(factor): Rewrite inner loop to be more efficient.Jim Meyering
Patch from Torbjorn Granlund.
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-01-26(print_factors): Reflect changes to xstrtoul interface.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering