NetBSD/usr.bin/mail
christos 3bf60b1367 From Anon Ymous:
The problem is that mime_decode_close() closes all files registered
after mip->mi_pipe_end and this is getting set in mime_sendmessage()
after a fflush().

When you print a large number of messages fflush() blocks and prevents
mip->mi_pipe_end from getting set before the SIGPIPE comes in and
jumps to the close block that calls mime_decode_close().  As a result,
mime_decode_close() was closing all the registered files including
obuf (mi_pipe_end was NULL).
2006-11-01 16:42:27 +00:00
..
USD.doc Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
misc add ~@ 2006-10-22 00:35:29 +00:00
Makefile More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
cmd1.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
cmd2.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
cmd3.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
cmd4.c new file from Anon Ymous 2006-10-31 22:37:19 +00:00
cmdtab.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
collect.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
complete.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
complete.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
def.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
dotlock.c Pass lint completely. 2005-07-19 23:07:10 +00:00
edit.c Pass lint completely. 2005-07-19 23:07:10 +00:00
extern.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
fio.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
format.c new files from Anon Ymous. 2006-10-31 22:36:37 +00:00
format.h new files from Anon Ymous. 2006-10-31 22:36:37 +00:00
getname.c Pass lint completely. 2005-07-19 23:07:10 +00:00
glob.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
head.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
lex.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
list.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mail.1 Various fixes. Bump date for previous. 2006-10-31 22:10:41 +00:00
main.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_attach.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_attach.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_child.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_child.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_codecs.c more meaningful variable name. 2006-10-24 19:57:05 +00:00
mime_codecs.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_decode.c From Anon Ymous: 2006-11-01 16:42:27 +00:00
mime_decode.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_header.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
mime_header.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
names.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
pathnames.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
popen.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
quit.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
rcv.h More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
send.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
strings.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
support.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
temp.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
tty.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
v7.local.c Coverity CID 1198: Avoid closing a negative fd. 2006-05-01 23:06:55 +00:00
vars.c More fixes from Anon Ymous: 2006-10-31 20:07:32 +00:00
version.c include "rcv.h" so that extern array types are well-known. 2006-05-11 10:45:48 +00:00