TIP: Click on subject to list as thread! ANSI
echo: artware
to: All
from: andrew clarke
date: 2003-02-22 17:33:24
subject: msgbase corruption

Sat 2003-02-22 13:36, andrew clarke (3:633/267) wrote to All:

 ac> #1 is the tossed message.  #2 is the message saved by timEd.  So
 ac> the problem seems to be that the .SQI file isn't being re-checked
 ac> before the message is being saved...

I made some minor changes to XMSGAPI to work around this.  I *think* it
will fix the bug, and it seems to work for me, and not cause any side
effects.

I've committed those changes to the CVS, but I forgot to give PostMsg write
access to the base: 

postmsg: MsgOpenArea() failed  

so you all missed out on the following CVS commit notices (although I'm not
sending xmsgapi CVS commit notices to this echo, so you would've missed out
on those anyway):

ozzmosis
Sat Feb 22 17:29:49 EST 2003

xmsgapi/src sq_idx.c,1.1,1.2 sq_write.c,1.1,1.2
Update of /cvsroot/xmsgapi/src
In directory blizzard.dnsalias.org:/tmp/cvs-serv32287/src

Modified Files:
        sq_idx.c sq_write.c
Log Message:
Rebuffers the .sqi file if a message wasn't found in the index.  (Fixes a
bug in timEd 1.11.a5 where if a message was imported into a message base
while a message was being written, the index file would get corrupted.)

ozzmosis
Sat Feb 22 17:29:50 EST 2003

xmsgapi/unix/gnu-c makefile,1.1,1.2
Update of /cvsroot/xmsgapi/unix/gnu-c
In directory blizzard.dnsalias.org:/tmp/cvs-serv32287/unix/gnu-c

Modified Files:
        makefile
Log Message:
Rebuffers the .sqi file if a message wasn't found in the index.  (Fixes a
bug in timEd 1.11.a5 where if a message was imported into a message base
while a message was being written, the index file would get corrupted.)

ozzmosis
Sat Feb 22 17:32:07 EST 2003

timed errorrpt.c,1.2,1.3 getfmt.c,1.3,1.4 getmsg.c,1.3,1.4
readarea.c,1.2,1.3 reply.c,1.6,1.7
Update of /cvsroot/timed
In directory blizzard.dnsalias.org:/tmp/cvs-serv32318

Modified Files:
        errorrpt.c getfmt.c getmsg.c readarea.c reply.c
Log Message:
More verbose error reporting when MSGAPI fails.  More code cleanup.  Fixed
a couple of compiler warnings.

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.a5
* Origin: Blizzard of Ozz, Mt Eliza, Victoria, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.