OpenBSD CVS

CVS log for src/usr.bin/rcs/rcsnum.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 29 16:47:33 2017 UTC (6 years, 8 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, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

kill const and string artithmetic related warnings; ok millert@

Revision 1.19 / (download) - annotate - [select for diffs], Fri Aug 26 09:02:54 2016 UTC (7 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

Pull in <time.h> for struct tm, used in rcs.h

ok deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Nov 2 16:45:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

Allow rcsnum_free and buf_free to accept NULL and remove various NULL
checks that are now unnecessary, from Michael W Bombardieri. ok millert

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 13 20:15:21 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Convert xfree to free. From Fritjof Bornebusch. ok deraadt

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:11 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.15: +5 -4 lines
Diff to previous 1.15 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 1 21:58:46 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

An internal function called xrealloc() is actually a fail-hard
reallocarray()... so rename it.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 7 14:08:16 2014 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

ctype cleanups; ok okan

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 20 19:21:10 2011 UTC (13 years ago) by nicm
Branch: MAIN
CVS Tags: 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
Changes since 1.12: +1 -18 lines
Diff to previous 1.12 (colored)

Remove a bunch of unused functions, from Michael W Bombardieri.

ok ray

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 23 21:46:05 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 22 07:03:02 2008 UTC (16 years ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.10: +10 -4 lines
Diff to previous 1.10 (colored)

correctly deal with non-zero depths specified in rcsnum_cmp();

from Stefan Sperling

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 31 16:36:11 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.9: +47 -8 lines
Diff to previous 1.9 (colored)

Revert last patch and add this magic branch number only during
output, this way we don't have to hassle in our internal brach handling.

OK joris@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 22 08:31:18 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.8: +8 -29 lines
Diff to previous 1.8 (colored)

Don't remove magic branch numbers from rcs files, as it breaks compatibility
with GNU cvs.

OK niallo@, ray@

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 9 14:02:56 2007 UTC (16 years, 5 months ago) by tobias
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Fix for an off-by-one.

OK fgsch@

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 29 00:19:10 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.6: +4 -10 lines
Diff to previous 1.6 (colored)

Since xrealloc dies on failure it is safe to directly assign to the
original pointer.  Theo agrees, and so does the rest of the tree
(ssh, etc. all do this already).

Saves a bunch of variables and assignments.

OK niallo@

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 12 17:33:05 2007 UTC (17 years ago) by ray
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Change 0x30 to more readable '0'.

OK xsa@.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 2 04:53:17 2007 UTC (17 years, 2 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.4: +3 -6 lines
Diff to previous 1.4 (colored)

Sync rcsnum.c with OpenCVS, from Charles Longeau.

OK niallo@ and xsa@.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 27 07:59:13 2007 UTC (17 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.3: +6 -2 lines
Diff to previous 1.3 (colored)

As done in OpenCVS, general includes cleanup sweep. OK otto@.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 27 03:17:10 2006 UTC (17 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

Not were we allocating memory for a pointer array, it wasn't even for
the right variable!  Fixes make regress with MALLOC_OPTIONS=PR.

Found by and fix worked on with Joris.

OK niallo@, tested by pedro@.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 29 05:31:28 2006 UTC (18 years ago) by ray
Branch: MAIN
Changes since 1.1: +9 -5 lines
Diff to previous 1.1 (colored)

Check return values for all strlcpy, and strlcat calls.

OK xsa@ and probably others.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:55:13 2006 UTC (18 years ago) by joris
Branch: MAIN

fork our code we shared between openrcs/cvs into the openrcs dir.

this was starting to become inhuman to maintain without
ugly ugly hacks in the shared code, and it will be easier
to make specific changes for openrcs without touching the
soon-to-be-replaced opencvs code.

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.