| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
<stdint.h> macros.
|
| |
|
| |
|
| |
|
|
|
|
| |
FBSDID.
|
| |
|
| |
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
an int, not a long
Submitted by: Paul Herman <pherman@frenchfries.net>
PR#: alpha/31859
|
| |
|
| |
|
|
|
|
|
|
|
| |
(well, at least one that gcc doesn't complain about). This fixes -r,
which rev. 1.16 broke.
Submitted by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
PR: 12611
Reviewed by: markm
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
warnings given) and modify source to use arc4random() instead of random().
Reviewed by: ache
|
|
|
|
|
|
|
| |
number device. Also clearly state that sequential data is the default.
PR: 5553
Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca>
|
| |
|
| |
|
| |
|
|
|
|
| |
Fix error with begin variable calculation
|
| |
|
|
|
|
|
|
| |
Add proper type casting to random calls
Should go into 2.2
|
|
|
|
|
| |
>Category: bin
>Synopsis: -s option in jot is broken
|
|
|