[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd locking problem on 2.99.8 ...
> I have now spotted an odd locking problem in 2.99.8's transporters.
> So far it has manifested itself only on MAILBOX, but one never
> knows...
>
> ... rather odd, though. 450 messages with 591 recipients with
> the lattest binaries on SunOS 4.1.3, and now ONE of them is giving
> trouble... Must be somehow special message.
Ah, it was indeed. A MIME message without a body
(a blank letter, that is)
> /Matti Aarnio
/Matti Aarnio <mea@nic.funet.fi> <mea@utu.fi>
*** zmailer-2.99.8/transports/mailbox/mailbox.c~ Thu Jan 5 16:12:35 1995
--- zmailer-2.99.8/transports/mailbox/mailbox.c Sun Jan 8 13:06:43 1995
***************
*** 1509,1515 ****
int ismime;
char *file;
{
! int lastch = -1;
#ifndef USE_MMAP
static char buffer[BUFSIZ+1];
static char *bufend = buffer+BUFSIZ;
--- 1509,1515 ----
int ismime;
char *file;
{
! int lastch = 0x0FFF; /* No such char.., not "-1" either .. */
#ifndef USE_MMAP
static char buffer[BUFSIZ+1];
static char *bufend = buffer+BUFSIZ;