summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm
Commit message (Collapse)AuthorAgeFilesLines
* Check for i/o errors in fclose() so that a full disk doesn't almostbde1995-04-161-7/+18
| | | | guarantee truncation of the file being edited.
* The latest round of bugfixes here...phk1995-03-292-11/+19
|
* Fixed a bug so that a delta#0 can be applied.phk1995-03-264-24/+33
| | | | | | 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!
* Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (asjoerg1995-03-251-3/+3
| | | | | | | | | 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).
* Added a man page for the ctm(1) command, as well as a format descriptionjoerg1995-03-253-2/+355
| | | | | | for the CTM deltas. Largely based on Poul-Henning's README, and the source code.
* Make sure exit() is sensible;phk1995-03-241-2/+7
|
* Modes on dirs were decimal by mistake.phk1995-03-241-2/+2
| | | | Submitted by: joerg
* Make extra arguments be subdirs to go through.phk1995-03-191-2/+11
|
* Finally applying my own fix. :-)joerg1995-03-191-5/+7
| | | | | | | | | | >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.
* Add a missing "\" in a printf before the "n".roberto1995-03-191-2/+2
|
* Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly.phk1995-03-191-1/+1
|
* Look at the .ctm_status file and ignores all patches already applied.phk1995-03-044-13/+37
| | | | | Reviewed by: phk Submitted by: J Wunsch <j@uriah.heep.sax.de>
* Added lock-files, so we should know if the machine panic'ed in the middlephk1995-02-281-1/+23
| | | | of an "apply".
* Latest updates to this.phk1995-02-272-11/+20
|
* (Not tested yet. I may insist that ctm be invoked with absolute path. /phk)phk1995-02-253-62/+278
| | | | | | | | | | | | | | | This patch fixes the concurrency problem, and adds a possibly useful -f switch (which you can read about in the man page :-) ). It also removes the absolute path from the invocation of ctm. I'll write a note about how to use a script with sendmail and procmail or some such, and people can fix their PATH there. BTW, this patch changes ctm_rmail.1, ctm_rmail.c and error.c in the ctm_rmail directory. Stephen. Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Just a precaution: ctm will not accept '..' in paths anymore.phk1995-02-251-1/+11
| | | | | | | | 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:
* I (phk) blundered with the last change. Make it right & better now.phk1995-02-241-1/+1
| | | | | Reviewed by: phk Submitted by: John Hay <jhay@mikom.csir.co.za>
* Make us a little safer, by writing to a tempfile, and rename when done.phk1995-02-231-4/+14
| | | | Still needs more locking I belive.
* Be more exclusive about cvs-locks.phk1995-02-214-5/+6
|
* Use absolute path for the "ctm" program.phk1995-02-201-1/+2
|
* The new and improved mkCTM. Learning from this experience it has beenphk1995-02-204-173/+271
| | | | | improved on a couple of accounts. Amongst these are "damage control" more than 100 files removed and it will bail out...
* Some recent small changes. Probably about time I start writing this in C.phk1995-02-193-22/+29
|
* Various nitpicking from Stephen.phk1995-02-154-9/+7
| | | | | Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Clean up some details, to make it clear to gcc that we do not try to dophk1995-02-103-19/+26
| | | | something stupid.
* Stephen lost a -D, now it's back.phk1995-02-061-1/+1
|
* A couple of sensible changes from down under...phk1995-02-043-6/+14
| | | | | Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* CTM email tools.phk1995-01-3110-1/+1351
| | | | | Reviewed by: phk Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Update to current reality.phk1994-12-083-15/+53
|
* Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directoriesphk1994-12-041-7/+10
| | | | in -depth order for us. cvs-cur.0018.gz is a good example.
* Fix this to work under 2.0 also.phk1994-12-031-4/+4
|
* Fixed a typo. Poited out by Bruce & Phillipe.phk1994-12-011-2/+2
|
* Fix syntax errors (0 = foo()).bde1994-11-271-3/+3
|
* Stefan Esser proved that I couldn't program, and Ollivier Robert that Iphk1994-11-264-15/+21
| | | | | couldn't spell :-) Submitted by: Stefan Esser, Ollivier Robert
* These patches fix some lesser problems:phk1994-10-247-15/+32
| | | | | | | | | | | | | | | 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
* A couple of nit-picks.phk1994-09-262-11/+17
|
* Added a '-c' option: This will warn you if any file in the directory-treephk1994-09-251-9/+31
| | | | | you run it on are unsuitable food for diff/patch. Can you use it as it is now Rod ?
* Various cleanup and fixes.phk1994-09-228-43/+77
|
* Add BINDIR=/usr/sbin for install, fails in other caseache1994-09-211-1/+2
|
* Add BINDIR=/usr/sbin for install, fails in other caseache1994-09-211-2/+3
| | | | Remove -g from CFLAGS
* The next batch of refinements. Now it no longer needs to call on ed(1) tophk1994-09-2110-37/+115
| | | | fix our files, it has a builtin "diff -n" editor.
* A bunch of improvements. Still far to go.phk1994-09-2012-100/+286
|
* This is the present state of CTM version 2. Please do not ask for phk1994-09-1916-0/+1304
subscriptions yet. Wait for the announcement. CTM is my humble attempt to get -current out to people beyond TCP/IP connections. This is for people with dial-up connections and such. CTM can make a delta from one version to another of a source-tree, in a efficient and verified way. Even if there are binary files in the tree. It will even try to make the delta as small as possible. It is OK with me if you yell "Bloating!" but I'll just forward your email to some of the happy customers from CTM version 1, and let them tell you what they think. I will not put ctm into "make world" yet. For now it is just the logical way to get the sources out to people who helps me test this. Poul-Henning
OpenPOWER on IntegriCloud