259065 |
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
233456 |
25-Mar-2012 |
joel |
Remove superfluous paragraph macro.
|
216370 |
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
208728 |
02-Jun-2010 |
brian |
Fix stuttering sequences and reverse ranges
PR: 123635 Submitted by: Ulrich Spörlein, uqs at spoerlein dot net
|
204104 |
20-Feb-2010 |
delphij |
Add a reference to newly added seq(1) command.
Submitted by: jilles MFC after: 3 months
|
200462 |
13-Dec-2009 |
delphij |
Revert most part of 200420 as requested, as more review and polish is needed.
|
200420 |
11-Dec-2009 |
delphij |
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
|
195443 |
08-Jul-2009 |
brian |
Fix some uninitialise variables.
PR: 136383 Submitted by: Ulrich Spoerlein - uqs at spoerlein dot net Approved by: re (kib) MFC after: 3 weeks
|
165029 |
09-Dec-2006 |
delphij |
Use explicit braces to avoid ambiguous else.
|
164852 |
03-Dec-2006 |
dds |
Prevent buffer overflow when forcibly terminating an escape character.
Obtained from: OpenBSD Note: In the case of a full buffer the OpenBSD implementation will leave in the format string an invalid escape sequence. This appears to be harmless with our C library, but according to C99 this can cause undefined behavior.
MFC after: 2 weeks
|
164851 |
03-Dec-2006 |
dds |
Correct handling of format strings with escaped % specifications.
Note: It would be nice to be able to implement getformat() using fmtcheck(3), but fmtcheck does not distinguish between signed and unsigned types, a facility jot needs to perform range checks on its output.
Submitted by: Per Kristian Hove MFC after: 2 weeks
|
164046 |
06-Nov-2006 |
dds |
Style facelift. - Reduce the number of global variables - Make global objects static - Use bool consistently - Sort getopt arguments and their processing - Add function comments - Change notlast != 0 into !last
|
164043 |
06-Nov-2006 |
dds |
Use a more sensible default of 1 or -1 when only the start and end values are specified.
PR: bin/68981 Submitted by: Stefan `Sec` Zehl MFC after: 2 weeks
|
164035 |
06-Nov-2006 |
dds |
Do What I Mean when the user asks for random integers or characters. Up to now jot would fail to generate the last character in the range or skew the integer distribution in a way that would generate the numbers in the range's limits with half the probability of the rest.
This modification fixes the program, rather than documenting the strange behavior, as suggested in docs/54879.
Also, correctly specify the range of random(3).
PR: docs/54879 MFC after: 2 weeks
|
164028 |
06-Nov-2006 |
dds |
Avoid negative array indices: an empty string can also be used to specify a default value.
|
164027 |
06-Nov-2006 |
dds |
See also arc4random
PR: docs/54879 MFC after: 2 weeks
|
164026 |
06-Nov-2006 |
dds |
Restore jot's ability to use a seed for producing a deterministic sequence of random numbers. This functionality was lost in revision 1.9 when the random number generator was switched to arc4random.
PR: docs/54879 MFC after: 2 weeks
|
164025 |
06-Nov-2006 |
dds |
Replace obscure aliases through pointers with plain variables.
MFC after: 2 weeks
|
164023 |
06-Nov-2006 |
dds |
Merge code in common cases.
Verified by: New regression tests in tools/regression/usr.bin/jot MFC after: 2 weeks
|
164021 |
06-Nov-2006 |
dds |
Replace opaque numeric bit flag values with #defined identifiers. While there, add some missing FALLTHROUGH comments.
Verified with: cmp(1) on the executable MFC after: 2 weeks
|
163515 |
20-Oct-2006 |
cperciva |
Document that jot(1), rs(1), and lam(1) first appeared in 4.2BSD.
MFC after: 1 month
|
140420 |
18-Jan-2005 |
ru |
Sort sections.
|
140368 |
17-Jan-2005 |
ru |
Added the EXIT STATUS section where appropriate.
|
132240 |
16-Jul-2004 |
tjr |
Avoid passing negative values to <ctype.h> functions on machines with signed chars.
|
131491 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
118310 |
01-Aug-2003 |
das |
Fix jot so that 'jot -r -w %d 1 1 4' never prints 4. Previously, it would print it with probability 1/2**32. It seems that the correct behavior is to print 4 with probability 1/4, but I'd like to avoid breaking POLA until all the range inconsistencies in jot can be fixed in one pass. See PR for details.
PR: 54878 Submitted by: David Brinegar <jot.3.brinegar@spamgourmet.com>
|
99457 |
05-Jul-2002 |
mike |
Don't depend on pollution in <limits.h> for the definition of <stdint.h> macros.
|
99342 |
03-Jul-2002 |
ru |
mdoc(7) police: added missing markup bits, lowercased argument names.
|
99112 |
30-Jun-2002 |
obrien |
Consistently use FBSDID
|
98255 |
15-Jun-2002 |
jmallett |
Remove local prototype for main().
|
98254 |
15-Jun-2002 |
jmallett |
Protoize. Remove un-needed cast to char in switch of getopt(3)'s return value. FBSDID.
|
95124 |
20-Apr-2002 |
charnier |
Use `The .Nm utility'
|
92920 |
22-Mar-2002 |
imp |
remove __P
|
90415 |
08-Feb-2002 |
markm |
Remove leaf node WARNS?=2 (that mainly I added). This should help the GCC3 transition and CURRENT in general.
|
86197 |
08-Nov-2001 |
wollman |
Actually, arc4random() returns a uint32_t, not an int. Use the correct constant, just in case uint32_t turns into a `short' ten years from now. If this is MFC'd it will be necessary to hard-code the constant since -stable doesn't have UINT32_MAX.
|
86196 |
08-Nov-2001 |
gallatin |
fix jot -r on 64-bit platforms by teaching it that arc4random outputs an int, not a long
Submitted by: Paul Herman <pherman@frenchfries.net> PR#: alpha/31859
|
81687 |
15-Aug-2001 |
ru |
mdoc(7) police: utilize the new .Ex macro.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
77441 |
29-May-2001 |
dd |
Replace the cast I removed in rev. 1.16 with a slightly less evil one (well, at least one that gcc doesn't complain about). This fixes -r, which rev. 1.16 broke.
Submitted by: bde
|
77287 |
28-May-2001 |
dd |
Silence warnings and compile with WARNS=2 on i386 and alpha.
|
77276 |
27-May-2001 |
dd |
Miscellaneous cleanups; sync to OpenBSD as much as feasible. Noteworthy changes include: * Use getopt(3). * Fix overflows in -b and -w options. * Use strlcpy(3) and snprintf(3) in favor of strcpy(3) and sprintf(3), respectively. Also check return values of the former two. * Fix lots of other gratuitous differences with OpenBSD.
Obtained from: OpenBSD
|
70197 |
19-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
68963 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
62871 |
10-Jul-2000 |
kris |
Don't call printf with no format string.
|
55515 |
06-Jan-2000 |
sheldonh |
Back out rev 1.11, about which bde had concerns, and instead implement appropriate bounds-checking and typecasts based on our knowledge of the desired conversion format specifier.
Simplify diagnostics and take care to print the correct conversion format specifier when %l is involved.
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
48997 |
22-Jul-1999 |
sheldonh |
Don't dump core for a known, documented bug.
PR: 12611 Reviewed by: markm
|
48995 |
22-Jul-1999 |
sheldonh |
Improve printf(3) conversion specifier parsing so that silly formats aren't allowed and the right casts can be used for printf() statements.
Document the conversion specifier limitations and the fact that arithmetic overflow causes a fatal error.
PR: 12611 Reported by: Frode Vatvedt Fjeld <frodef@acm.org> Reviewed by: bde
|
48792 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
47107 |
13-May-1999 |
kris |
Correct an error in a manpage example, add -Wall -W to Makefile (no warnings given) and modify source to use arc4random() instead of random().
Reviewed by: ache
|
32728 |
24-Jan-1998 |
steve |
Random data is no longer based on the time of day, rather the random number device. Also clearly state that sequential data is the default.
PR: 5553 Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca>
|
30908 |
03-Nov-1997 |
charnier |
Mdoc'ify man page.
|
27423 |
15-Jul-1997 |
charnier |
Use err(3) instead of local redefinition. Add usage().
|
26626 |
14-Jun-1997 |
ache |
Remove srandomdev fallback code
|
24419 |
30-Mar-1997 |
ache |
Use srandomdev() now Fix error with begin variable calculation
|
23698 |
11-Mar-1997 |
ache |
Fix srandom arg type according to Lite2
|
23511 |
08-Mar-1997 |
ache |
Add ^ getpid() to make more random results for subsequent calling. Add proper type casting to random calls
Should go into 2.2
|
13101 |
29-Dec-1995 |
joerg |
>Number: 917 >Category: bin >Synopsis: -s option in jot is broken
|
1591 |
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|