Poul-Henning Kamp
85d8151a97
Add some explanation on TMPDIR.
...
Submitted by: Chuck Robey <chuckr@Glue.umd.edu>
1996-07-24 21:36:48 +00:00
Gary Palmer
240995227c
Small changes so that this actually stands a chance of doing the
...
right thing...
1996-07-12 13:12:46 +00:00
Gary Palmer
1e3ae6e45f
Add ctm_dequeue to the SUBDIR list now that I've checked that it
...
compiles cleanly on 2.2
1996-07-01 21:59:22 +00:00
Gary Palmer
a58791467b
Add a facility for a `slow'' CTM delta queue, allowing
x' number
...
of delta's to be mailed out every hour (or however often you schedule
the cron job).
ctm_dequeue is the cron job which takes the stuff from the
queue directory and punts it into sendmail. The chunks of
the deltas (and the complete deltas if they are that small)
are sorted into order before being dispatched, so the people
subscribing should still get the bits in the right order.
The changes to ctm_smail should be fairly safe as they won't be
activated unless you go for the new queue directory option.
1996-07-01 20:54:11 +00:00
Wolfram Schneider
ca6513c085
update SEE ALSO section
1996-05-27 22:46:44 +00:00
Poul-Henning Kamp
1bccdd4ade
Commit the right version of mkCTM, <:-)
...
Noticed by: "Philippe Charnier" <charnier@lirmm.fr>
1996-05-14 07:25:59 +00:00
Poul-Henning Kamp
15bc0feba3
Update to current reality.
...
mkctm.c can replace the guts of mkCTM if anybody feels like it...
1996-05-09 20:54:06 +00:00
Poul-Henning Kamp
c936f2cb5a
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>
1996-04-29 21:02:42 +00:00
Bruce Evans
0481ba6093
Updated howmany() to be once again identical with the namespace-polluting
...
one in <sys/types.h>. Lite2 changed the white space in the latter.
1996-03-19 15:36:32 +00:00
Bruce Evans
92909f9c4b
Updated format strings to match Lite2's fixed-width type changes.
...
uids and gids aren't unreasonably long any more, so we get to
change all the format strings that were fixed to use %lu back
to %u.
1996-03-19 15:17:34 +00:00
Poul-Henning Kamp
b8439c2769
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>
1996-02-05 16:06:55 +00:00
Nate Williams
c29defb0aa
ctm(5) has been written, so remove comment about it not existing. :)
1996-01-31 02:01:56 +00:00
Poul-Henning Kamp
17708f3490
typo in my last commit.
1995-12-26 09:43:40 +00:00
Peter Wemm
3656f85bbd
A trivial enhancement to ctm_rmail to support the -v option and pass it
...
through to cvs when unpacking the delta.. (I read the output.. :-)
1995-12-26 02:49:53 +00:00
Poul-Henning Kamp
4d50bdbc0c
Remove all trailing white space on the lines.
...
Suggested by: Phil Taylor <phil@zipmail.co.uk>
1995-12-25 19:35:23 +00:00
Poul-Henning Kamp
a36ec121e9
Fix a core-dump.
...
Submitted by: Simon Marlow <simonm@dcs.gla.ac.uk>
1995-11-10 12:17:23 +00:00
Poul-Henning Kamp
4b9f7ce616
Forgot this one in the MD5 reshuffle.
...
Noticed by: Faried Nawaz <fn@pain.csrv.uidaho.edu>
1995-07-13 15:33:42 +00:00
Bruce Evans
0a49b28a4f
Remove -g from CFLAGS.
1995-07-12 18:35:45 +00:00
Poul-Henning Kamp
15abc19f5d
Fix to match new MD5 api. Faster, fixes memory leak.
1995-07-12 09:16:13 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Bruce Evans
9e6dc28ab3
Check for i/o errors in fclose() so that a full disk doesn't almost
...
guarantee truncation of the file being edited.
1995-04-16 22:40:49 +00:00
Poul-Henning Kamp
7dd147b45b
The latest round of bugfixes here...
1995-03-29 06:13:08 +00:00
Poul-Henning Kamp
37c1d2607b
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!
1995-03-26 20:09:52 +00:00
Joerg Wunsch
de8020d29b
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).
1995-03-25 20:46:51 +00:00
Joerg Wunsch
fee6e7cc49
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.
1995-03-25 18:14:26 +00:00
Poul-Henning Kamp
f551164802
Make sure exit() is sensible;
1995-03-24 21:36:32 +00:00
Poul-Henning Kamp
15a9992ca2
Modes on dirs were decimal by mistake.
...
Submitted by: joerg
1995-03-24 21:33:20 +00:00
Poul-Henning Kamp
ec71951908
Make extra arguments be subdirs to go through.
1995-03-19 21:26:00 +00:00
Joerg Wunsch
b2fbeb9a91
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.
1995-03-19 13:42:54 +00:00
Ollivier Robert
475239d0d8
Add a missing "\" in a printf before the "n".
1995-03-19 12:01:23 +00:00
Poul-Henning Kamp
9def6b02b2
Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly.
1995-03-19 06:09:01 +00:00
Poul-Henning Kamp
920052bded
Look at the .ctm_status file and ignores all patches already applied.
...
Reviewed by: phk
Submitted by: J Wunsch <j@uriah.heep.sax.de>
1995-03-04 20:36:46 +00:00
Poul-Henning Kamp
d47cc3d78a
Added lock-files, so we should know if the machine panic'ed in the middle
...
of an "apply".
1995-02-28 20:52:56 +00:00
Poul-Henning Kamp
eafbf78d25
Latest updates to this.
1995-02-27 22:26:58 +00:00
Poul-Henning Kamp
286e9a77d2
(Not tested yet. I may insist that ctm be invoked with absolute path. /phk)
...
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>
1995-02-25 05:10:18 +00:00
Poul-Henning Kamp
28db07dea2
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:
1995-02-25 05:02:18 +00:00
Poul-Henning Kamp
b117ae8a85
I (phk) blundered with the last change. Make it right & better now.
...
Reviewed by: phk
Submitted by: John Hay <jhay@mikom.csir.co.za>
1995-02-24 05:41:24 +00:00
Poul-Henning Kamp
d742998bc1
Make us a little safer, by writing to a tempfile, and rename when done.
...
Still needs more locking I belive.
1995-02-23 04:51:36 +00:00
Poul-Henning Kamp
b833a22c62
Be more exclusive about cvs-locks.
1995-02-21 02:09:47 +00:00
Poul-Henning Kamp
95104c63d5
Use absolute path for the "ctm" program.
1995-02-20 19:07:32 +00:00
Poul-Henning Kamp
97074d779f
The new and improved mkCTM. Learning from this experience it has been
...
improved on a couple of accounts. Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
Poul-Henning Kamp
3e2402edc3
Some recent small changes. Probably about time I start writing this in C.
1995-02-19 04:51:41 +00:00
Poul-Henning Kamp
7f8573b091
Various nitpicking from Stephen.
...
Reviewed by: phk
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-15 19:41:38 +00:00
Poul-Henning Kamp
833ccb5d7a
Clean up some details, to make it clear to gcc that we do not try to do
...
something stupid.
1995-02-10 05:25:00 +00:00
Poul-Henning Kamp
e96b9d9f84
Stephen lost a -D, now it's back.
1995-02-06 02:22:29 +00:00
Poul-Henning Kamp
cbaba1a477
A couple of sensible changes from down under...
...
Reviewed by: phk
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-04 19:20:49 +00:00
Poul-Henning Kamp
e86e7d0e07
CTM email tools.
...
Reviewed by: phk
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
1995-01-31 19:12:53 +00:00
Poul-Henning Kamp
3ef61f7ea3
Update to current reality.
1994-12-08 21:46:04 +00:00
Poul-Henning Kamp
bd1f210f7e
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.
1994-12-04 04:47:31 +00:00
Poul-Henning Kamp
ada6f1dd56
Fix this to work under 2.0 also.
1994-12-03 22:54:04 +00:00