|
From: David J. K. <dke...@ko...> - 2002-07-24 15:44:35
|
If only strings were a native C datatype ;) I'd say that fix warrants the
release of "pre3".
--
- Dave Kessler
President - Kopsis, Inc.
http://kopsisengineering.com
On Wed, Jul 24, 2002 at 08:35:50AM -0700, Matthew Bevan wrote:
> Got it! Please forgive the extreme "brainstorm" style of this
> message...
>
> The filename is one character too long, by VFSHelper's reckoning. The
> path is:
>
> /Palm/Backup/Awakening of a Vampire.pd{EURO symbol}
>
> Ohi. I guess I need to add a test to the StrCopies... I'm re-building
> and testing. Either that or the last character is being corrupted
> somehow. That's more likely. Hmm...
>
> CurrentDirectory = "/Palm/Backup";
> file->name = "Awakening of a Vampire";
> PathLength = StrLen(CurrentDirectory) + StrLen(file->name) + 4;
> Path = CurrentDirectory + "/" + FileName + ".pdb";
>
> The culprit is in the +4... needs to be +5 :D However, now it crashes
> elsewhere...
>
> /Palm/Backup/AddressStatesDB.pdb{EURO symbol}
>
> Ah! NULL terminator... *slaps forehead* I guess I should release pre3
> soon, eh?
>
> --
> Matthew (Darkstorm) Bevan mb...@ma...
> Margin Software, NECTI. http://www.marginsoftware.com
> Re-inventing the wheel, every time.
>
> - A journey of a thousand miles begins with a cash advance.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Filecaddy-developers mailing list
> Fil...@li...
> https://lists.sourceforge.net/lists/listinfo/filecaddy-developers
|