In regard to: Re: [Imap-uw] more frequent MBX corruption with 2006d?, Mark...:
Thank you for your report. I
just got back from a vacation in Japan, but the bug was pretty obvious once I
knew what I was looking for. The following patch fixes it.
Thanks Mark (or should I say "Arigato gozaimasu"). I've incorporated this
(apparently reversed) patch into our 2006d build, and we'll probably roll
it out to a small subset of our users this week. I'll let you know if we
encounter any problems with it.
BTW, I've also built the latest 2006e snapshot, and the changes you made
to tmail do indeed get rid of the warning about initgroups on Solaris.
Thanks again,
Tim
*** mbx.c Fri Jan 5 21:26:51 2007
--- mbx.c~ Tue Sep 26 17:58:02 2006
***************
*** 1150,1157 ****
uf,(unsigned long) f,++dstream->uid_last) < 0) ret = NIL;
else { /* write message */
if (!message->cursize) SETPOS (message,GETPOS (message));
! while (i && (fwrite (message->curpos,message->cursize,1,df) ==
! message->cursize)) {
i -= message->cursize;
SETPOS (message,GETPOS (message) + message->cursize);
}
--- 1150,1156 ----
uf,(unsigned long) f,++dstream->uid_last) < 0) ret = NIL;
else { /* write message */
if (!message->cursize) SETPOS (message,GETPOS (message));
! while (i && (fwrite (message->curpos,message->cursize,1,df) != EOF)) {
i -= message->cursize;
SETPOS (message,GETPOS (message) + message->cursize);
}
--
Tim Mooney [EMAIL PROTECTED]
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw