mdfrm
14 years agos/u_long/unsigned long/ master
epg [Thu, 30 Mar 2006 03:11:44 +0000 (03:11 +0000)]
s/u_long/unsigned long/

15 years agoLose err.h and implement err and errx on our own.
epg [Thu, 2 Jun 2005 00:00:58 +0000 (00:00 +0000)]
Lose err.h and implement err and errx on our own.

16 years agoDon't print the filename with a colon in -f mode.
epg [Wed, 13 Oct 2004 00:14:07 +0000 (00:14 +0000)]
Don't print the filename with a colon in -f mode.

16 years ago(sanitize): Sanitize all characters that don't pass isprint(3).
dsp [Wed, 8 Sep 2004 14:30:15 +0000 (14:30 +0000)]
(sanitize): Sanitize all characters that don't pass isprint(3).

16 years ago(frm): %-53s formatting on the subject is superfluous and results in
epg [Mon, 15 Mar 2004 16:05:46 +0000 (16:05 +0000)]
(frm): %-53s formatting on the subject is superfluous and results in
spaces being printed at the end of the line; kill it.  Yet another patch
from Doug Porter.

16 years agoApply patch from Doug Porter to eliminate control characters from
epg [Wed, 10 Mar 2004 00:05:34 +0000 (00:05 +0000)]
Apply patch from Doug Porter to eliminate control characters from
output.

16 years agoApply patch from Doug Porter to compare headers case-insensitively and
epg [Mon, 8 Mar 2004 01:40:48 +0000 (01:40 +0000)]
Apply patch from Doug Porter to compare headers case-insensitively and
trim leading whitespace on the From and Subject values printed.

16 years agoOptionally show the name of the message file.
epg [Fri, 2 Jan 2004 06:37:54 +0000 (06:37 +0000)]
Optionally show the name of the message file.

17 years agoRename the rcsid variable to ident, since this isn't an "RCS Id" after
epg [Thu, 10 Apr 2003 03:47:32 +0000 (03:47 +0000)]
Rename the rcsid variable to ident, since this isn't an "RCS Id" after
all.

17 years ago(scan_message): Initialize the first character of fromheader and
epg [Fri, 24 Jan 2003 03:31:35 +0000 (03:31 +0000)]
(scan_message): Initialize the first character of fromheader and
subjheader to '\0' so that they will appear as empty strings when that
header is missing from the message.  Previously, the previous's
message's contents for that header was printed instead of nothing.

18 years agoAdd notes about fgetln.c's license.
epg [Sun, 8 Sep 2002 05:28:01 +0000 (05:28 +0000)]
Add notes about fgetln.c's license.

18 years agoDoh, botched the svn:keywords property on these files when they
epg [Sun, 8 Sep 2002 05:21:41 +0000 (05:21 +0000)]
Doh, botched the svn:keywords property on these files when they
were added.  Now set it to 'Id'.

18 years agoNew file.
epg [Sun, 8 Sep 2002 05:20:47 +0000 (05:20 +0000)]
New file.

18 years agoAdd portable fgetln(3) from OpenBSD make(1).
epg [Sun, 8 Sep 2002 05:20:36 +0000 (05:20 +0000)]
Add portable fgetln(3) from OpenBSD make(1).

18 years ago(scan_message): Don't set first elements of fromheader and subjheader to
epg [Sun, 8 Sep 2002 03:51:08 +0000 (03:51 +0000)]
(scan_message): Don't set first elements of fromheader and subjheader to
'\0'; that was pointless.  Don't assign to line[--len], only decrement
len; line is a private buffer beloging to fgetln and we should not be
scribbling in it; this was also pointless anyway.  Set
fromheader[fromcount] to '\0' after copying the characters from line
into it; do the same for subjheader.

18 years ago(frm): Make fromheader and subjheader automatic variables, no longer
epg [Fri, 6 Sep 2002 00:19:26 +0000 (00:19 +0000)]
(frm): Make fromheader and subjheader automatic variables, no longer
use malloc.  Also, initialize the whole buffers (fixing memory issues
picked up by valgrind).

18 years ago(scan_message): I was truncating line but not decrementing len. Fixed.
epg [Thu, 5 Sep 2002 23:43:04 +0000 (23:43 +0000)]
(scan_message): I was truncating line but not decrementing len.  Fixed.

18 years agoBreak main up, now it only does the chdir(2) calls and then hands
epg [Mon, 2 Sep 2002 00:55:47 +0000 (00:55 +0000)]
Break main up, now it only does the chdir(2) calls and then hands
off to the new frm function, which uses the new scan_message
function.

18 years agoLet's fclose that file when we're done with it.
epg [Sun, 1 Sep 2002 22:29:25 +0000 (22:29 +0000)]
Let's fclose that file when we're done with it.

18 years agoWhitespace nits in comments.
epg [Sun, 1 Sep 2002 22:25:53 +0000 (22:25 +0000)]
Whitespace nits in comments.

18 years ago(rcsid): New global char[].
epg [Sun, 1 Sep 2002 22:24:56 +0000 (22:24 +0000)]
(rcsid): New global char[].

(main): Print rcsid and exit if -v is the first argument.

18 years agoSet svn:keywords to 'Id'.
epg [Sun, 1 Sep 2002 22:22:18 +0000 (22:22 +0000)]
Set svn:keywords to 'Id'.

18 years agoAdd frm(1)-like program for maildir.
epg [Sun, 1 Sep 2002 22:21:38 +0000 (22:21 +0000)]
Add frm(1)-like program for maildir.

18 years ago(no commit message)
<> [Sun, 1 Sep 2002 22:21:37 +0000 (22:21 +0000)]