primes-Document-maximum-number-in-manpage.-Closes-63.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From: Tobias Quathamer <toddy@debian.org>
  2. Date: Thu, 16 Feb 2012 13:17:13 +0100
  3. Subject: primes: Document maximum number in manpage. Closes: #636569
  4. ---
  5. primes/primes.6 | 9 ++++++---
  6. 1 files changed, 6 insertions(+), 3 deletions(-)
  7. diff --git a/primes/primes.6 b/primes/primes.6
  8. index 9499398..ac100c6 100644
  9. --- a/primes/primes.6
  10. +++ b/primes/primes.6
  11. @@ -61,10 +61,13 @@ value must be at least 0 and not greater than
  12. .Ar stop .
  13. The
  14. .Ar stop
  15. -value must not be greater than 4294967295.
  16. +value must not be greater than
  17. +the maximum possible value of unsigned integer types on your system
  18. +(4294967295 for 32-bit systems and
  19. +18446744073709551615 for 64-bit systems).
  20. The default value of
  21. .Ar stop
  22. -is 4294967295.
  23. +is 4294967295 on 32-bit and 18446744073709551615 on 64-bit.
  24. .Pp
  25. When the
  26. .Nm
  27. @@ -72,7 +75,7 @@ utility is invoked with no arguments,
  28. .Ar start
  29. is read from standard input.
  30. .Ar stop
  31. -is taken to be 4294967295.
  32. +is taken to be 4294967295 on 32-bit and 18446744073709551615 on 64-bit.
  33. The
  34. .Ar start
  35. value may be preceded by a single
  36. --