History log of /freebsd-10.1-release/usr.sbin/ctm/ctm/
Revision Date Author Comments
272461 03-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


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


141846 13-Feb-2005 ru

Expand *n't contractions.


141842 13-Feb-2005 ru

Line up license text.


131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


113201 07-Apr-2003 mckay

Remove the maximum patch size limit. It was intended as a check against
applying corrupt deltas, but has never (to my knowledge) caught any sort
of corruption, but instead has caused failures on correct deltas several
times. I don't see any way to make the check useful, so it's gone.

Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
PR: 50461
MFC after: 7 days


113091 04-Apr-2003 obrien

style.Makefile(5)


95127 20-Apr-2002 charnier

Use `The .Nm utility'


93151 25-Mar-2002 phk

Modernize my email address.


93150 25-Mar-2002 phk

Modernize my email address


81588 13-Aug-2001 ru

Spell "FreeBSD" with "F" and "BSD" in uppercase.


81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


80029 20-Jul-2001 obrien

Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.


80022 20-Jul-2001 obrien

Remove GCC'isms in CFLAGS.


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


76300 06-May-2001 kris

* fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
creation.

* Tag the internal err() function with __printflike to allow checking
for non-constant format string arguments (none exist)

* Use fmtcheck() to sanitize the tar command obtained via -t to make
sure it doesn't contain extraneous format operators.

Reviewed by: mikeh
MFC after: 1 week


74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


72691 19-Feb-2001 mckay

There is an arbitrary file size limit in ctm of 20MB. By my reckoning,
ports/INDEX,v is currently 19.97MB and will blow this limit on the next
update. Let's try doubling the limit again, to give us time to get
around to removing the limit altogether.


71898 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


70403 27-Dec-2000 ru

Prepare for mdoc(7)NG.


69862 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68756 15-Nov-2000 ben

remove trailing periods from SEE ALSO.


64212 03-Aug-2000 kris

Change use of perror() to warn()

Submitted by: bde


61901 21-Jun-2000 chuckr

Doubling the size of MAXSIZE because of large delta indigestion.

Submitted by: Stefan Esser.


57793 07-Mar-2000 nik

Mark "name" as being an argument, so it is formatted correctly.

PR: docs/16834
Submitted by: Greg Lewis <glewis@trc.adelaide.edu.au>


56881 29-Jan-2000 chuckr

Correcting SECURITY warning.

Submitted by: Kris Kennaway
Reviewed by: Warner Losh


56126 16-Jan-2000 kris

Fix insecure tempfile handling.

Reviewed by: audit@freebsd.org


56056 15-Jan-2000 phk

|Since I had suffered from partially applied CTM deltas, some time ago,
|I made ctm ignore deltas for files that match the "after edit" MD5.
|(In one case, I had the compiler fill all temporary space while CTM
|was editing files.)

Submitted by: se
Reviewed by: phk


55796 11-Jan-2000 kris

Document the (in)security features of CTM, especially ctm_rmail.


50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


36852 10-Jun-1998 phk

Spellint fixes.

PR: 6903 (not the contrib bits).
Reviewed by: phk
Submitted by: Josh Gillam <josh@quick.net>


35354 20-Apr-1998 rnordier

Spelling/typo fix: (proccessed).


29526 17-Sep-1997 charnier

Use err(3). Use An/Aq for author name.


22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21880 20-Jan-1997 wosch

Sort cross references.


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20971 28-Dec-1996 phk

Be a little less fatalistic in case of problems.

Reviewed by: phk
Submitted by: wosch


18446 21-Sep-1996 wosch

fix .Xr macro


17946 30-Aug-1996 phk

Some new options, useful for restoring single files or subtrees from the
deltas.

Submitted by: A JOSEPH KOSHY <koshy@fakir.india.hp.com>


17274 24-Jul-1996 phk

Add some explanation on TMPDIR.
Submitted by: Chuck Robey <chuckr@Glue.umd.edu>


15945 27-May-1996 wosch

update SEE ALSO section


15456 29-Apr-1996 phk

Support for "-u" which sets the timestamp from the delta on the file.
Intended for sup mirrors etc. Not well tested yet.

Reviewed by: phk
Submitted by: Giles Lean <giles@nemeton.com.au>
Submitted by: John Hay <jhay@mikom.csir.co.za>


13917 05-Feb-1996 phk

Add support for local modifications to the tree, by using FOO.ctm instead
of FOO if present. Various other tweaks.

Submitted by: Christian Haury <Christian.Haury@sagem.fr>


13773 31-Jan-1996 nate

ctm(5) has been written, so remove comment about it not existing. :)


12190 10-Nov-1995 phk

Fix a core-dump.

Submitted by: Simon Marlow <simonm@dcs.gla.ac.uk>


9495 12-Jul-1995 bde

Remove -g from CFLAGS.


9491 12-Jul-1995 phk

Fix to match new MD5 api. Faster, fixes memory leak.


8857 30-May-1995 rgrimes

Remove trailing whitespace.


7894 16-Apr-1995 bde

Check for i/o errors in fclose() so that a full disk doesn't almost
guarantee truncation of the file being edited.


7395 26-Mar-1995 phk

Fixed a bug so that a delta#0 can be applied.
Fixed a typo in the generation of temp filenames.
"Blame" Joerg for the man-pages (and clarify a couple of minor points).
Most appreceiated Joerg!


7372 25-Mar-1995 joerg

Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (as
opposed to 0644 or 0755). It's finally still masked by the process'
umask(2), and it does not make sense to restrict it further than that.

This (especially for mkdir(2)) was causing major headaches for the CVS
tree, since a member of group cvs was later not able to get cvs
checkout permission for the mirrored tree failed to write the lock file).


7368 25-Mar-1995 joerg

Added a man page for the ctm(1) command, as well as a format description
for the CTM deltas.

Largely based on Poul-Henning's README, and the source code.


7168 19-Mar-1995 joerg

Finally applying my own fix. :-)

>Description:

ctm(1) sometimes did not free up all used resources (open pipes and
processes, heap memory). This happened whenever one of the passes
ended prematurely, and it became very apparent when running it on
a bunch of already applied deltas, resulting in a ``gunzip: resource
temporarily unavailable'' due to the maxproc # exhausted.


7159 19-Mar-1995 roberto

Add a missing "\" in a printf before the "n".


6889 04-Mar-1995 phk

Look at the .ctm_status file and ignores all patches already applied.

Reviewed by: phk
Submitted by: J Wunsch <j@uriah.heep.sax.de>


6694 25-Feb-1995 phk

Just a precaution: ctm will not accept '..' in paths anymore.
I'm never going to generate one, so this is a guard against hackers mostly.

Reviewed by: phk
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
Obtained from:


6181 04-Feb-1995 phk

A couple of sensible changes from down under...

Reviewed by: phk
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>


4947 04-Dec-1994 phk

Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directories
in -depth order for us. cvs-cur.0018.gz is a good example.


4890 01-Dec-1994 phk

Fixed a typo. Poited out by Bruce & Phillipe.


4839 27-Nov-1994 bde

Fix syntax errors (0 = foo()).


4816 26-Nov-1994 phk

Stefan Esser proved that I couldn't program, and Ollivier Robert that I
couldn't spell :-)
Submitted by: Stefan Esser, Ollivier Robert


3833 24-Oct-1994 phk

These patches fix some lesser problems:

1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.

Bruce

I updated the mkCTM stuff while I was at it anyway. /phk

Reviewed by: phk
Submitted by: bde


2971 22-Sep-1994 phk

Various cleanup and fixes.


2949 21-Sep-1994 ache

Add BINDIR=/usr/sbin for install, fails in other case
Remove -g from CFLAGS


2948 21-Sep-1994 phk

The next batch of refinements. Now it no longer needs to call on ed(1) to
fix our files, it has a builtin "diff -n" editor.


2926 20-Sep-1994 phk

A bunch of improvements. Still far to go.


2887 19-Sep-1994 phk

This commit was generated by cvs2svn to compensate for changes in r2886,
which included commits to RCS files with non-trunk default branches.