The NetBSD Project

CVS log for src/games/factor/factor.c

[BACK] Up to [cvs.NetBSD.org] / src / games / factor

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 12 13:54:51 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
- remove duplicate comment
- flush after printing the number
(from kre@)

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Oct 11 18:46:21 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -27 lines
Remove is_hex_str() (trying to guess if a number was hex or not). It is not
documented and can lead to unexpected behavior.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Oct 11 17:18:34 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +42 -31 lines
From gson@
- don't assume -h is always on for large factors
- fix saved large factors printing when -h

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Oct 7 19:48:29 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +19 -8 lines
- for readability when the exponent < 10 don't prefix it with 0x (from kre)
- fix usage
- merge printing code.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Oct 5 21:11:47 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +41 -3 lines
PR/55695: Andreas Gustafsson: factor(6) -h option doesn't always work
Handle -h for factors greater than the primes table.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Oct 5 14:31:30 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -7 lines
revert previous and don't parse octal

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Oct 5 12:22:49 2020 UTC (4 years, 4 months ago) by tnn
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
factor: usage(): mark __dead

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Oct 4 19:32:15 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -5 lines
- Accept octal input.
- Don't play with the original string so we can print it.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Oct 3 22:27:00 2020 UTC (4 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +224 -185 lines
PR/55693: Andreas Gustafsson: factor(6) lists factors in wrong order
Sync with FreeBSD and change their -h (that printed hex) to -x because
we were already using -h.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Feb 6 16:53:27 2018 UTC (7 years ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -8 lines
fix for OpenSSL-1.1

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Nov 11 23:48:44 2017 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +35 -15 lines
Add -h option to factor(6): duplicate factors are printed in
"human-readable" form of x^n.

Revision 1.26.18.1: download - view: text, markup, annotated - select for diffs
Sun Oct 5 10:21:04 2014 UTC (10 years, 4 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +7 -9 lines
Pull up following revision(s) (requested by ast in ticket #128):
	games/primes/pattern.c: revision 1.7
	games/primes/primes.h: revision 1.6
	games/primes/spsp.c: revision 1.1
	games/primes/Makefile: revision 1.8
	games/factor/factor.c: revision 1.27
	games/factor/factor.6: revision 1.13
	games/primes/primes.c: revision 1.20
	games/primes/primes.c: revision 1.21
	games/primes/pr_tbl.c: revision 1.8
	games/primes/primes.6: revision 1.4
	games/primes/primes.6: revision 1.5
Imported and adapted from FreeBSD svn r272166 and r272207; this fixes
false positives for products of primes larger than 2^16. For example,
before this commit:
  $ /usr/games/primes 4295360521 4295360522
  4295360521
but
  $ /usr/games/factor 4295360521
  4295360521: 65539 65539
or
  $ /usr/games/primes 3825123056546413049 3825123056546413050
  3825123056546413049
yet
  $ /usr/games/factor 3825123056546413049
  3825123056546413049: 165479 23115459100831
or
  $ /usr/games/primes 18446744073709551577
  18446744073709551577
although
  $ /usr/games/factor 18446744073709551577
  18446744073709551577: 139646831 132095686967
Incidentally, the above examples show the smallest and largest cases that
were erroneously stated as prime in the range 2^32 .. 3825123056546413049
.. 2^64; the primes(6) program now stops at 3825123056546413050 as
primality tests on larger integers would be by brute force factorization.
In addition, special to the NetBSD version:
. for -d option, skip first difference when start is >65537 as it is incorrect
. corrected usage to mention both the existing -d as well as the new -h option
For original FreeBSD commit message by Colin Percival, see:
http://svnweb.freebsd.org/base?view=revision&revision=272166
usage police

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Oct 2 21:36:37 2014 UTC (10 years, 4 months ago) by ast
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -9 lines
Imported and adapted from FreeBSD svn r272166 and r272207; this fixes
false positives for products of primes larger than 2^16. For example,
before this commit:

  $ /usr/games/primes 4295360521 4295360522
  4295360521
but
  $ /usr/games/factor 4295360521
  4295360521: 65539 65539

or
  $ /usr/games/primes 3825123056546413049 3825123056546413050
  3825123056546413049
yet
  $ /usr/games/factor 3825123056546413049
  3825123056546413049: 165479 23115459100831

or
  $ /usr/games/primes 18446744073709551577
  18446744073709551577
although
  $ /usr/games/factor 18446744073709551577
  18446744073709551577: 139646831 132095686967

Incidentally, the above examples show the smallest and largest cases that
were erroneously stated as prime in the range 2^32 .. 3825123056546413049
.. 2^64; the primes(6) program now stops at 3825123056546413050 as
primality tests on larger integers would be by brute force factorization.

In addition, special to the NetBSD version:
. for -d option, skip first difference when start is >65537 as it is incorrect
. corrected usage to mention both the existing -d as well as the new -h option

For original FreeBSD commit message by Colin Percival, see:
http://svnweb.freebsd.org/base?view=revision&revision=272166

Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:35 2011 UTC (13 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +2 -5 lines
sync with head

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 9 20:17:44 2011 UTC (13 years, 3 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: netbsd-7
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -5 lines
remove duplicated #defines (in a usually unused part of the code)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon May 23 22:49:59 2011 UTC (13 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base2, yamt-pagecache-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Properly print string.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat May 15 21:22:39 2010 UTC (14 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -9 lines
Follow the Fundamental Theory of Algebra. Disallow factorising of
numbers less than 2 as it is not
- naturally unique (negative numbers)
- finite (0)
- non-empty (1)

Discussed with the kristaps and wiz

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu May 13 17:52:11 2010 UTC (14 years, 9 months ago) by tnozaki
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
cast isblank(3)'s argument to unsigned char.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Apr 28 18:04:31 2010 UTC (14 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -8 lines
rename pollard_pminus1->pollard_rho for consistency

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Apr 27 18:11:19 2010 UTC (14 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +59 -28 lines
-Fix an old bug in the "pollard" code: it gets its argument passed
 by reference, and changes the value behind the pointer under some
 circumstances (basically if it finds more than 2 different factors).
 It also calls itself if it finds a factor which is not considered prime
 (by openssl's miller-rabin check) and uses the call argument afterwards.
 This doesn't work -- we need to copy the argument into its own storage.
-Modify the code to do the "rho" algorithm as was initially announced.
 It takes somewhat longer in rare cases, but still works in cases where
 the "p-1" algorithm is unusable. This might fix PR misc/43192
 by Luiz Henrique de Figueiredo.
-Add some optional debug support, minor cleanup.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Apr 22 14:28:48 2010 UTC (14 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -4 lines
fix an obvious flaw in bounds check: the array of precomputed primes
could be overrun if its last entry (65537) was a factor of the input
(this does not affect PR misc/43192 -- the factors are much larger
here: 7742394596501*159455563099482401)

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Aug 12 05:54:31 2009 UTC (15 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +15 -16 lines
sprinkle static

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:39:57 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -4 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:03:21 2008 UTC (16 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
Remove the \n and tabs from the __COPYRIGHT() strings.

Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:30:47 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 15 19:44:40 2007 UTC (17 years, 2 months ago) by perry
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
convert __attribute__s to applicable cdefs.h macros

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jun 27 20:49:31 2005 UTC (19 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Fixed a comment that said the factors in the output would be strictly
ascending.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 8 11:47:36 2004 UTC (21 years ago) by jsm
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -6 lines
Check large factor for being prime before applying Pollard's
algorithm; fixes "factor 2147483647111311".  Correct comment;
algorithm is Pollard p-1, not Pollard rho.  Increase base if p-1
algorithm reaches 1; fixes "factor 99999999999991".  Testcases from
David A Bagley <bagleyd@tux.org>.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Aug 7 09:37:12 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 18 23:07:36 2002 UTC (22 years, 8 months ago) by simonb
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +21 -3 lines
Provide a BN_dec2bn() shim for the non-openssl case that reports an error
if strtoul() fails.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jun 17 15:43:52 2002 UTC (22 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +25 -12 lines
Fix a logic botch where if a number smaller than the square of the seive
was prime to still called the Pollard Rho function when it didn't have
to.  Problem report by Nathan Williams.

Unfortunately this one can't be picked up by a simple regression test
since the broken way still produced the correct output, but just took
far longer...

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jun 16 22:24:01 2002 UTC (22 years, 8 months ago) by itojun
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +46 -3 lines
make factor work with and without openssl.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 15 02:12:23 2002 UTC (22 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +108 -39 lines
Use libcrypto's bignum support to implement a Pollard Rho factoring
algorithm so we can factorise numbers larger than a host long.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 8 21:17:48 1999 UTC (25 years, 5 months ago) by jsm
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Sep 13 15:27:27 1998 UTC (26 years, 5 months ago) by hubertf
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Oct 10 12:51:32 1997 UTC (27 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -6 lines
WARNSify

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 7 12:05:10 1997 UTC (28 years, 1 month ago) by tls
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -3 lines
Sync to 4.4BSD-Lite2

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Dec 28 19:13:17 1996 UTC (28 years, 1 month ago) by tls
Branches: WFJ-920714, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +2 -1 lines
Import from 4.4BSD-Lite2

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Mar 23 08:28:07 1995 UTC (29 years, 10 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +97 -238 lines
merge with Lite, new RCS id conventions, etc.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Mar 21 15:46:37 1995 UTC (29 years, 11 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: lite-1
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +91 -236 lines
from Lite

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Mar 3 03:07:24 1994 UTC (30 years, 11 months ago) by deraadt
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
bring in limits.h

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Dec 8 07:27:50 1993 UTC (31 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Eliminate a compiler warning.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:54:58 1993 UTC (31 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Add RCS identifiers.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 11 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 11 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>