TIP: Click on subject to list as thread! ANSI
echo: tub
to: Bob Jones
from: Bo Simonsen
date: 2003-10-05 22:28:46
subject: Sqfix update

Hello Bob!

05 Oct 03 06:51, you wrote to me:

 BS>> The problem might be a wrong message length.. I'll try
 BS>> making a Quick-And-Dirty [tM] fix, so we search the
 BS>> message from behind and +1 will
 BS>> force a \0..

 BS>> Does anyone have a better solution?

 BJ> Are we hitting string differences because of MS-DOS
 vs Unix
 BJ>  issues?

No in Fidonet messages is it the same as dos, only Carrige Return as line seperator.

 BJ>  The code may need some cleanup to convert Unix type
 BJ>  (single) character to MS-DOS  (double)
 BJ> charcters....

Not nessersary. FTN is standalized.. Think of Amiga, many people did use
FTN from their Amiga, an afair is Amiga only using  for line
seperating.

 BJ> Another thought.....  Is the structure that is being read and/or
 BJ> written to a file a packed structure?  If not, then the message length
 BJ> might not be getting read and/or written correctly.....

The problem was writing of the Squish Messagebase header, it was packed
too, so I fixed it by using SQHDR_SIZE (28 bytes).

Regards,
Bo

--- GoldED+/LNX 1.1.4.7
* Origin: The Night Express, Roennede Dk (2:236/100)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 106/1 2000 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™.