]> diplodocus.org Git - mdfrm/log
mdfrm
23 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.

23 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.

23 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'.

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

23 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).

23 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.

23 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).

23 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.

23 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.

23 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.

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

23 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.

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

23 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.

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