Date: Wed, 19 Apr 1995 14:42:58 -0700 From: Edward Wang <edward@edcom.com> To: ache@astral.msk.su, rgrimes@gndrsh.aac.dev.com Cc: freebsd-bugs@freefall.cdrom.com Subject: Re: bin/351: long mail messages overflow line-count field Message-ID: <199504192142.OAA00540@edcom.com>
next in thread | raw e-mail | index | archive | help
> [copying source from Vangogh is a bad idea ...]
No problem. I don't want to do anything that gets anyone in trouble.
For the bug report in question, the fix is two lines in one file,
and I wrote it myself. So, let me just reproduce it here and
give you the diff. I'll also take a look at what else is new in mail
and whether any of it is useful.
*** /usr/src/usr.bin/mail/def.h Fri May 27 05:32:06 1994
--- def.h Tue Oct 25 16:36:49 1994
***************
*** 68,77 ****
struct message {
short m_flag; /* flags, see below */
- short m_block; /* block number of this message */
short m_offset; /* offset in block of message */
long m_size; /* Bytes in the message */
! short m_lines; /* Lines in the message */
};
/*
--- 68,77 ----
struct message {
short m_flag; /* flags, see below */
short m_offset; /* offset in block of message */
+ long m_block; /* block number of this message */
long m_size; /* Bytes in the message */
! long m_lines; /* Lines in the message */
};
/*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504192142.OAA00540>
