Synopsis: When "packf -mbox" makes a "From " line from a "Return-Path:"
field, the resulting line isn't newline-terminated.

Here's an example.  "% " is the shell prompt.  "cat -t -v -e" displays
TABs as "^I" and marks the ends of lines with "$":

    % head -5 `mhpath cur` | cat -t -v -e
    Return-Path: <[EMAIL PROTECTED]>$
    Date: Sat, 20 Feb 1999 19:04:04 -0700$
    From: Jerry Peek <[EMAIL PROTECTED]>$
    X-Mailer: nmh-1.0$
    To: [EMAIL PROTECTED]$

    % packf cur   
    Create file "/tmp/msgbox"? y

    % head -5 msgbox | cat -t -v -e
    From <[EMAIL PROTECTED]>  Sat Feb 20 20:08:24 1999Date: Sat, 20 Feb 1999 
19:04:04 -0700$
    From: Jerry Peek <[EMAIL PROTECTED]>$
    X-Mailer: nmh-1.0$
    To: [EMAIL PROTECTED]$
    Subject: test$

    % packf -version
    packf -- nmh-1.0 [compiled on jpeek.com at Sat Feb 13 17:17:22 GMT 1999]

I haven't tried writing a fix, but it looks like the block of
uip/dropsbr.c that starts at line 378 needs to output a newline.

Jerry
-- 
Jerry Peek, [EMAIL PROTECTED], http://www.jpeek.com/~jpeek/

Reply via email to