Commit Graph

95 Commits

Author SHA1 Message Date
Jacques Vidrine
292c7b2582 Paranoia: use mkstemp instead of mktemp.
PR:		bin/3211
Reported by:	Mark Pritchard <mpp@FreeBSD.ORG>
1998-07-27 22:26:25 +00:00
Poul-Henning Kamp
fe0c226de9 Spellint fixes.
PR:		6903 (not the contrib bits).
Reviewed by:	phk
Submitted by:	Josh Gillam <josh@quick.net>
1998-06-10 12:33:41 +00:00
Robert Nordier
be1f43797a Spelling/typo fix: (proccessed). 1998-04-20 20:57:16 +00:00
Robert Nordier
cf2484d78c Spelling/typo fixes: (proccessed, og). 1998-04-20 20:55:43 +00:00
Martin Cracauer
d6b37778e9 (evil) hackers -> crackers 1998-04-08 12:00:48 +00:00
Philippe Charnier
f12a14713b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
Wolfram Schneider
175dffc0f6 Delete ctm_scan program. There is no manpage for ctm_scan
and nobody use it.

Reviewed by: phk & Richard Wackerbarth
1997-10-12 19:58:53 +00:00
Philippe Charnier
873c7a4e8f Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
John-Mark Gurney
ac3ff7117d fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4424
1997-08-30 11:05:34 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Wolfram Schneider
bfd34a4a60 Sort cross references. 1997-01-20 00:03:00 +00:00
Alexander Langer
8abdc2eb40 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
Jordan K. Hubbard
1130b656e5 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.
1997-01-14 07:20:47 +00:00
Poul-Henning Kamp
35c40fc2fa Be a little less fatalistic in case of problems.
Reviewed by:	phk
Submitted by:	wosch
1996-12-28 13:50:34 +00:00
Stephen McKay
aded5373e9 Correct MLINKS, now that I know how it actually works. 1996-12-17 14:28:09 +00:00
Stephen McKay
147962b004 Documented ctm_dequeue and the new feature of ctm_smail that goes with it.
Expanded the ctm_rmail example usage section.
1996-12-15 15:10:11 +00:00
Stephen McKay
735fa92ade Simplified. Some fts related bugs removed. Made less verbose. The default
number of mail messages sent per run was lowered from 2 to 1.  Why?  Well,
some numbers just give you the warm fuzzies, like zero and one.  Zero isn't
much use here, so I picked my all time favourite, one.
1996-11-27 13:06:51 +00:00
Stephen McKay
37b2250f56 Removed unnecessary locking. Simplified. Tidied. 1996-11-27 12:58:44 +00:00
Poul-Henning Kamp
da18dc1a65 Don't dump core on zero-size files. 1996-11-21 15:17:04 +00:00
Poul-Henning Kamp
83c7762d77 Latest reality. 1996-11-20 08:21:27 +00:00
Poul-Henning Kamp
a5c57c4040 Make the case where there is no changes look less fatal. 1996-11-17 08:11:18 +00:00
Poul-Henning Kamp
e534982b63 Check bogus and ignore against the relative name, not the absolute. 1996-11-16 22:05:46 +00:00
Poul-Henning Kamp
9c0f44a5b3 Improve mkctm.c so we can use it, and start using it.
This should help quite a bit on the load.  Notice that
some minor changes in config files will be needed.
Contact me for details.
1996-11-16 19:30:14 +00:00
Wolfram Schneider
374fc79d70 fix .Xr macro 1996-09-21 15:08:10 +00:00
Peter Wemm
1aa04dd1f3 aarghh! what is it with this CVSROOT/val-tags regexp anyway? how
many times do I have to do this to get it right? :-]
1996-09-19 08:41:49 +00:00
Peter Wemm
0c5936ed24 Add dequeue script for the record. 1996-09-07 21:09:41 +00:00
Peter Wemm
6dd18c1490 make it slightly less verbose while creating queue entries.. 1996-09-07 21:06:19 +00:00
Peter Wemm
a64c504c01 make the "-l logfile" option actually do something.. 1996-09-07 20:41:09 +00:00
Peter Wemm
0ef88e5a1f After queueing deltas, send out an initial two mails since that will cover
99.9% of the cases at with out delay as before.
1996-09-07 19:50:48 +00:00
Peter Wemm
955892a940 fts_children() returns NULL if there are no files. If there was a failure
then errno != 0.
1996-09-07 19:46:29 +00:00
Peter Wemm
47a5bd3f21 - resync with configs running on freefall
- add ctm_conf.gnats from freefall
- add support for doing both the immediate mailout and the queued mailout.
- use "sendmail -odq -t" rather than "sendamil -t" to make it queue to
  the mailqueue rather than immediately begin transmission. This allows
  us to take advantage of our ordered dequeueing system without blowing
  WC's T1 to hell with a 50 part mailout in parallel.
- bump the max ctm size from 3MB to 10MB....  This is mainly for the fast
  list.
1996-09-07 18:48:52 +00:00
Poul-Henning Kamp
d09e8179fa Some new options, useful for restoring single files or subtrees from the
deltas.

Submitted by:	A JOSEPH KOSHY <koshy@fakir.india.hp.com>
1996-08-30 10:21:00 +00:00
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