[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in ordered
Greetings,
There is a minor bug in ordered.c:
*** ordered.c.orig Wed Jul 2 13:09:09 1997
--- ordered.c Wed Jul 2 13:09:47 1997
***************
*** 130,136 ****
if (*buf == '\n')
++linecnt;
buf = fm->membuf;
! fm->offsets = (long*)emalloc(sizeof(long)*(linecnt+1));
linecnt = 0;
while (buf < eof) {
fm->offsets[linecnt] = (buf - (const char*)fm->membuf);
--- 130,136 ----
if (*buf == '\n')
++linecnt;
buf = fm->membuf;
! fm->offsets = (off_t*)emalloc(sizeof(off_t)*(linecnt+1));
linecnt = 0;
while (buf < eof) {
fm->offsets[linecnt] = (buf - (const char*)fm->membuf);
alexis
PS I solved that things with sender rewriting
--
Yesterday dont matter when its gone