History log of /freebsd-10.1-release/usr.bin/csup/rcsfile.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 228992 30-Dec-2011 uqs

Spelling fixes for usr.bin/


# 216542 18-Dec-2010 lulf

- Signal that data should not be modified.


# 204556 02-Mar-2010 lulf

- Move csup away from contrib/ and into usr.bin/. Software is no longer
contributed, and main development is happening in the FreeBSD repo.

Suggested by: joel


# 194070 12-Jun-2009 lulf

- Remove semicolon that should not have been there.

Submitted by: rdivacky
MFC after: 1 week


# 190422 25-Mar-2009 lulf

- Add proper error checking and printing to the CVSMode code when reading and
writing from/to streams, as leaving them out stops csup from cleaning up on
SIGINT and friends properly.

MFC after: 1 week


# 186781 05-Jan-2009 lulf

Merge support for CVSMode (aka. mirror mode) into csup. This means csup can now
fetch a complete CVS repository. Support for rsync update of regular files are
also included, but are not yet enabled. The change should not have an impact on
existing csup usage, as little of the existing code has changed.


# 186744 04-Jan-2009 lulf

- Sort children branches by revision number rather than by date since a few RCS
files have the wrong date.


# 186743 04-Jan-2009 lulf

- Update copyright.


# 186741 04-Jan-2009 lulf

- Try to match style(9).
- Remove old comments.


# 186727 03-Jan-2009 lulf

- Use a LIST to hold branches instead of a STAILQ.
- Sort branches when inserting them.


# 186724 03-Jan-2009 lulf

- Write out branches with the highest revision number first if they have the
same date.


# 186718 03-Jan-2009 lulf

- A bit missing from the previous commit. The '@'s from the string token must be
stripped before encoding the expansion mode.


# 186700 02-Jan-2009 lulf

- Add an optimization when parsing rcsfiles when the intention is to only send
details to the cvsup server. The deltatext does not need parsing, and some
parts of the rcsfile data structure doesn't need to be set up.
- Fix a bug where the RCS expansion mode is not written out.


# 185811 09-Dec-2008 lulf

- Check return value of the encoded keyword before using it.

Pointed out by: Christian Weisgerber <naddy -at- mips.inka.de>


# 185592 03-Dec-2008 lulf

A few bugfixes:
- Instead of including protocol info in diffs, strip them before adding
deltatext and take this into account when applying the diff later.
- Don't use strlen when the string in the RCS file may contain garbage. This got
caught in the checksumming before, but was not fixed until now. Instead of
using strlen, pass the token length when adding log and text entries to a
delta. Add an extra length parameter to duptext() to record the token length.
- When adding new branches to a file, add them in at the tail instead of the
head of the list to get correct ordering when writing out.
- Input stream when diffing was opened twice.
- Don't expand keywords in diffs between deltas.


# 185569 02-Dec-2008 lulf

- Fix a bug where deltas was not sorted on RCS dates _and_ revision number.


# 185134 20-Nov-2008 lulf

- Refactor some parts of the code and increase code reuse.
- Fix a lot of style issues remaining and old debugging output.
- Update comments where needed.


# 185094 19-Nov-2008 lulf

A few general bugfixes:
- Use internal xmalloc instead of malloc.
- Include missing header after warnings.
- Fix unneeded printouts.
- Fix a bug when checking the CO_NORSYNC flag.


# 184054 19-Oct-2008 lulf

- Import csup work from p4.