OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 13 21:10:41 2023 UTC (11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

Remove debug info inadvertantly left in the last commit.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 12 20:15:06 2023 UTC (11 months, 1 week ago) by millert
Branch: MAIN
Changes since 1.6: +14 -11 lines
Diff to previous 1.6 (colored)

seq: fix check for rounding error/truncation
We need to compare the printable version of the last value displayed,
not the floating point representation.  Otherwise, we may print the
last value twice.  OK deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 25 16:00:39 2022 UTC (2 years, 2 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.5: +15 -16 lines
Diff to previous 1.5 (colored)

fix indent and other minor KNF nits

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 22 23:25:44 2022 UTC (2 years, 2 months ago) by tb
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

whitespace

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 22 23:24:09 2022 UTC (2 years, 2 months ago) by tb
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Check asprintf() return to avoid crashing in strcmp().

ok deraadt millert

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 22 16:14:38 2022 UTC (2 years, 2 months ago) by rob
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

Pledge stdio.
Ok millert@

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 22 16:08:59 2022 UTC (2 years, 2 months ago) by rob
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Remove -v option from usage.
Ok millert@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 22 15:15:34 2022 UTC (2 years, 2 months ago) by millert
Branch: MAIN

Add a seq(1) command, similar to what is present in GNU and Plan9.
Adapted from the NetBSD version with some changes from FreeBSD.
OK gnezdo@

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.