| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
b33a8b38
|
| 16-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357966 through r357999.
|
| #
06257a71
|
| 15-Feb-2020 |
Conrad Meyer <cem@FreeBSD.org> |
random(6): Re-add undocumented support for floating point denominators
And document it in the manual page.
PR: 244139 Submitted by: Keith White <kwhite AT site.uottawa.ca> (earlier version)
|
| #
c7b8411c
|
| 13-Dec-2019 |
Conrad Meyer <cem@FreeBSD.org> |
random(6): produce random results
This program is trash and there's no reason to keep it in base. But as long as we're shipping a silly program named 'random', let's actually make it random.
|
| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
b33a8b38
|
| 16-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357966 through r357999.
|
| #
06257a71
|
| 15-Feb-2020 |
Conrad Meyer <cem@FreeBSD.org> |
random(6): Re-add undocumented support for floating point denominators
And document it in the manual page.
PR: 244139 Submitted by: Keith White <kwhite AT site.uottawa.ca> (earlier version)
|
| #
c7b8411c
|
| 13-Dec-2019 |
Conrad Meyer <cem@FreeBSD.org> |
random(6): produce random results
This program is trash and there's no reason to keep it in base. But as long as we're shipping a silly program named 'random', let's actually make it random.
|
| #
6ae1554a
|
| 02-Oct-2015 |
Colin Percival <cperciva@FreeBSD.org> |
Final step of eliminating the "games" distribution: Merge src/games (or what's left of it, at least) into src/usr.bin.
This change will not be MFCed.
Discussed at: EuroBSDCon 2014 Committed from:
Final step of eliminating the "games" distribution: Merge src/games (or what's left of it, at least) into src/usr.bin.
This change will not be MFCed.
Discussed at: EuroBSDCon 2014 Committed from: EuroBSDCon 2015
show more ...
|
| #
2a3fabc4
|
| 10-Aug-2008 |
Andrey A. Chernov <ache@FreeBSD.org> |
All cosmetic. 1) Rename RANDOM_MAX to RANDOM_MAX_PLUS1 to not confuse with random()'s max 2) Use calloc() instead of zeroing fields explicitly 3) "too many lines" -> "too many delimiters" for err()
|
| #
67cc8dbb
|
| 08-Aug-2008 |
Andrey A. Chernov <ache@FreeBSD.org> |
I was confused a bit by the wrong construction with RAND_MAX used in randomize_fd.c. Although the max value is the same currently, RAND_MAX is for rand(), not for random(). So move RANDOM_MAX const t
I was confused a bit by the wrong construction with RAND_MAX used in randomize_fd.c. Although the max value is the same currently, RAND_MAX is for rand(), not for random(). So move RANDOM_MAX const to the common file now, make it UL and use in randomize_fd.c too. (in any case its old value was 1 less then must be, as noted in the prev. commit)
show more ...
|
| #
3f4b5045
|
| 15-Feb-2003 |
Sean Chittenden <seanc@FreeBSD.org> |
flexlint rears its head as well as some style(9) fixes[1]. Fixed a few bugs for a few corner cases and correctly handle the case where read(2) is read()'ing from a non-file descriptor and could get
flexlint rears its head as well as some style(9) fixes[1]. Fixed a few bugs for a few corner cases and correctly handle the case where read(2) is read()'ing from a non-file descriptor and could get fewer bytes back than the buffer, but it isn't EOF[2]. random(6) extensively tested and believed to be bug free (save performance for large files).
Submitted by: mkm [1], tjr[2]
show more ...
|
| #
a3b3a1cf
|
| 11-Feb-2003 |
Sean Chittenden <seanc@FreeBSD.org> |
Update random(6) to have the ability to randomize a file/stdin based off of lines or words. See the man page for details.
Reviewed by: markm MFC after: 3 days
|