OpenBSD CVS

CVS log for src/usr.bin/dc/stack.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 6 13:48:05 2017 UTC (6 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, HEAD
Changes since 1.14: +2 -4 lines
Diff to previous 1.14 (colored)

strdup -> bstrdup; from Michael W. Bombardieri

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 27 15:55:13 2016 UTC (8 years, 1 month ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.13: +8 -15 lines
Diff to previous 1.13 (colored)

some style(9) and redundant tests for NULL, from Michael W. Bombardieri

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 1 13:13:00 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

more opportunity to use reallocarray(); ok otto

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 26 15:05:51 2014 UTC (9 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

init array field in the proper place, see regress test t27;
from Sebastien Marie

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:37 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.10: +1 -5 lines
Diff to previous 1.10 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 28 06:35:09 2008 UTC (16 years ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.9: +6 -3 lines
Diff to previous 1.9 (colored)

plug three leaks, one reported and fixed by Andreas Gunnarsson in PR 5802,
the others by myself

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 16 08:09:25 2006 UTC (18 years, 4 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored)

delint; use size_t as stack size and ssize_t as stack pointer.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 15 19:11:59 2006 UTC (18 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

delint wrt return values, including some missing BN return
values checks.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 28 17:39:20 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

spacing

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 26 19:30:52 2003 UTC (20 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.5: +4 -16 lines
Diff to previous 1.5 (colored)

Avoid a core dump on reading uninitiazed array locations.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 4 08:10:06 2003 UTC (20 years, 6 months ago) by otto
Branch: MAIN
Changes since 1.4: +16 -2 lines
Diff to previous 1.4 (colored)

Duh, a stack machine without swap; implement GNU compatible 'r'
(swap) operator. Prompted by Michael Knudsen <e at molioner dot dk>

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 18 20:34:26 2003 UTC (20 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

err(1, "out of mem") -> err(1, NULL)

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 28 19:29:33 2003 UTC (20 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.2: +7 -7 lines
Diff to previous 1.2 (colored)

realloc cleanup

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 19 19:00:36 2003 UTC (20 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

spaces

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 19 17:58:25 2003 UTC (20 years, 8 months ago) by otto
Branch: MAIN

A complete, BSD licensed rewrite of dc(1), using the bn(3) big number routines.

ok toby@ deraadt@

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.