History log of /openbsd-current/gnu/usr.bin/cvs/src/rcs.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.27 22-Oct-2018 bluhm

When checking out certain commits by date, cvs got confused. If
there is a vendor branch and a commit on top of it, revision 1.1
was taken instead of the vendor branch. To fix this, compare the
vendor date with the current node, and not with the command line
date.
OK deraadt@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.26 28-May-2014 jcs

finally enable writing per-commit commitid tokens to rcs ,v files

ok deraadt@ millert@


Revision tags: OPENBSD_5_5_BASE
# 1.25 03-Dec-2013 millert

Kill usage of timeb.h for upcoming removal of libcompat. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.24 03-Jun-2013 jcs

backport commitid support from newer CVS (with a different random id
generator)

writing a commitid is currently disabled

ok deraadt


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.23 14-Dec-2009 stsp

Fix "cvs [update aborted]: out of memory; can not reallocate 5242880 bytes"
when checking out xenocara from a server running OpenBSD/amd64.

While processing RCS deltas, don't allocate twice as much memory as
needed when copying a line vector to a vector which has less lines.
Also, when switching back from a branch to trunk while searching an
RCS file for a revision, free the trunklines vector immediately after
lines saved in it have been copied back into the currentlines vector.
Somehow, these two changes together make the problem go away.

ok tobias@, "this has been a serious annoyance" sthen@, "sure" deraadt@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.22 11-Jun-2008 djm

Add a CVSROOT/config option "DisableMdocdate" (default:no) to turn off
the OpenBSD-specific Mdocdate expansion. This is useful to avoid
conflicts that arise between the server's expansion of Mdocdate and
the upstream code when maintaining forked OpenBSD derived code on an
OpenBSD CVS server.

"I must grudgingly agree that this is neccessary" deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.21 08-Feb-2008 jmc

Febuary -> February


Revision tags: OPENBSD_4_2_BASE
# 1.20 26-May-2007 niallo

introduce Mdocdate tag, requested by jmc.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.19 20-Apr-2005 otto

Fixes from Derek Price, CAN-2005-0753. ok deraadt@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.18 16-Dec-2003 millert

branches: 1.18.2; 1.18.4; 1.18.6;
Better fix for MALLOC_OPTIONS=J bug. Something had problems with
returning a NULL label so now we just the epoch for the timestamp
if we cannot stat the file. OK deraadt@


# 1.17 25-Sep-2003 millert

Free buffer and set it to NULL on error lest it be used.
Fixes a crash when MALLOC_OPTIONS includes 'J' found by david@.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.16 08-Jan-2002 tholo

Allow a CVS tagname to be expanded during checkout, export and update to be
specified on the command line; ok niklas@ pval@


Revision tags: OPENBSD_3_0_BASE
# 1.15 28-Sep-2001 tholo

Merge local changes; work in progress


# 1.14 30-Aug-2001 millert

Fixed version of Matthieu's change from revision 1.12
OK matthieu@ && deraadt@


# 1.13 29-Aug-2001 deraadt

Nope, this makes cvs dump core


# 1.12 27-Aug-2001 matthieu

allow for local tags that include numbers (like $XFree86$). First
character must be pure alpha though. Ok deraadt@, tholo@.


Revision tags: OPENBSD_2_9_BASE
# 1.11 10-Feb-2001 tholo

Integrate local changes


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.10 10-Sep-1999 tholo

Integrate local changes


Revision tags: OPENBSD_2_5_BASE
# 1.9 28-Feb-1999 tholo

Integrate local changes


Revision tags: OPENBSD_2_4_BASE
# 1.8 22-Aug-1998 tholo

Integrate local changes


# 1.7 13-Jul-1998 tholo

Integrate local changes


# 1.6 14-May-1998 deraadt

more careful scanf


Revision tags: OPENBSD_2_3_BASE
# 1.5 12-Mar-1998 tholo

Integrate local changes


# 1.4 22-Feb-1998 tholo

Integrate local changes


Revision tags: OPENBSD_2_2_BASE
# 1.3 28-Jun-1997 tholo

Integrate local changes


Revision tags: OPENBSD_2_1_BASE
# 1.2 26-Apr-1997 tholo

Allow a private tag when we expand RCS identifiers ourselves as well.


# 1.1 19-Dec-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.26 28-May-2014 jcs

finally enable writing per-commit commitid tokens to rcs ,v files

ok deraadt@ millert@


Revision tags: OPENBSD_5_5_BASE
# 1.25 03-Dec-2013 millert

Kill usage of timeb.h for upcoming removal of libcompat. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.24 03-Jun-2013 jcs

backport commitid support from newer CVS (with a different random id
generator)

writing a commitid is currently disabled

ok deraadt


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.23 14-Dec-2009 stsp

Fix "cvs [update aborted]: out of memory; can not reallocate 5242880 bytes"
when checking out xenocara from a server running OpenBSD/amd64.

While processing RCS deltas, don't allocate twice as much memory as
needed when copying a line vector to a vector which has less lines.
Also, when switching back from a branch to trunk while searching an
RCS file for a revision, free the trunklines vector immediately after
lines saved in it have been copied back into the currentlines vector.
Somehow, these two changes together make the problem go away.

ok tobias@, "this has been a serious annoyance" sthen@, "sure" deraadt@


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.22 11-Jun-2008 djm

Add a CVSROOT/config option "DisableMdocdate" (default:no) to turn off
the OpenBSD-specific Mdocdate expansion. This is useful to avoid
conflicts that arise between the server's expansion of Mdocdate and
the upstream code when maintaining forked OpenBSD derived code on an
OpenBSD CVS server.

"I must grudgingly agree that this is neccessary" deraadt@


Revision tags: OPENBSD_4_3_BASE
# 1.21 08-Feb-2008 jmc

Febuary -> February


Revision tags: OPENBSD_4_2_BASE
# 1.20 26-May-2007 niallo

introduce Mdocdate tag, requested by jmc.


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.19 20-Apr-2005 otto

Fixes from Derek Price, CAN-2005-0753. ok deraadt@


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.18 16-Dec-2003 millert

branches: 1.18.2; 1.18.4; 1.18.6;
Better fix for MALLOC_OPTIONS=J bug. Something had problems with
returning a NULL label so now we just the epoch for the timestamp
if we cannot stat the file. OK deraadt@


# 1.17 25-Sep-2003 millert

Free buffer and set it to NULL on error lest it be used.
Fixes a crash when MALLOC_OPTIONS includes 'J' found by david@.


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE
# 1.16 08-Jan-2002 tholo

Allow a CVS tagname to be expanded during checkout, export and update to be
specified on the command line; ok niklas@ pval@


Revision tags: OPENBSD_3_0_BASE
# 1.15 28-Sep-2001 tholo

Merge local changes; work in progress


# 1.14 30-Aug-2001 millert

Fixed version of Matthieu's change from revision 1.12
OK matthieu@ && deraadt@


# 1.13 29-Aug-2001 deraadt

Nope, this makes cvs dump core


# 1.12 27-Aug-2001 matthieu

allow for local tags that include numbers (like $XFree86$). First
character must be pure alpha though. Ok deraadt@, tholo@.


Revision tags: OPENBSD_2_9_BASE
# 1.11 10-Feb-2001 tholo

Integrate local changes


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.10 10-Sep-1999 tholo

Integrate local changes


Revision tags: OPENBSD_2_5_BASE
# 1.9 28-Feb-1999 tholo

Integrate local changes


Revision tags: OPENBSD_2_4_BASE
# 1.8 22-Aug-1998 tholo

Integrate local changes


# 1.7 13-Jul-1998 tholo

Integrate local changes


# 1.6 14-May-1998 deraadt

more careful scanf


Revision tags: OPENBSD_2_3_BASE
# 1.5 12-Mar-1998 tholo

Integrate local changes


# 1.4 22-Feb-1998 tholo

Integrate local changes


Revision tags: OPENBSD_2_2_BASE
# 1.3 28-Jun-1997 tholo

Integrate local changes


Revision tags: OPENBSD_2_1_BASE
# 1.2 26-Apr-1997 tholo

Allow a private tag when we expand RCS identifiers ourselves as well.


# 1.1 19-Dec-1995 deraadt

branches: 1.1.1;
Initial revision