""Jesse Norell"" <[EMAIL PROTECTED]> said:
> > Ok, I just thought this through again, and at the moment our only option is
> > fgetc with one character at a time. Anything that's line-at-a-time is not
> > binary safe (correct this assumption and we're home free, though). Block at 
> > a
> > time, like fread, is not sensitive to the header/body boundary. It is
> > inevitable (and I must have missed it by testing with my usual dumb three 
> > line
> > headers) that read_header() will fread a bit into the body. So we'd have to
> > either unread the extra stuff or pass an initial body along the delivery
> > chain. Neither is a pretty option (how much you can push back, if at all, is
> > highly system dependent).
> 
>   Perhaps you could fgetc() through the headers, and once you hit the body
> use fread() for performance?

Not a bad idea at all! I'll try just chaning the read_header function, and
folks please check CVS again in a few hours to see if it's working right.

Aaron


> 
> 
> --
> Jesse Norell
> 
> [EMAIL PROTECTED] is not my email address;
> change "administrator" to my first name.
> --
> 
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 



-- 



Reply via email to