OpenBSD CVS

CVS log for src/usr.bin/jot/jot.c


[BACK] Up to [local] / src / usr.bin / jot

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_0


Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 17 04:04:46 2016 UTC (7 years, 10 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.27: +17 -14 lines
Diff to previous 1.27 (colored)

1. Update manpage in view of the change of behavior I introduced in -r1.27.

The bounds are taken inclusive and -w %d doesn't change the output of
integer random sequences anymore.  This is the same behavior as that
of Linux and NetBSD, but differs from FreeBSD and OS X.

Issue reported by Philippe Meunier on misc@.

2 Fix a bug from the same commit observed by Otto: if the precision is 0,
values may be printed out of bounds.  Fall back to the old behavior if at
least one bound isn't an integer.

General agreement expressed by otto@, tedu@, jmc@, sobrado@
Help with checking other operating systems by sobrado@.

Manpage ok jmc@.
Bugfix discussed with otto@ on icb

This form allows you to request diff's 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.