OS X Externals

Frank D. Engel, Jr. fde101 at fjrhome.net
Thu Oct 14 09:30:39 EDT 2004


Yes, though the remainder of these were all valid corrections, which I 
have made; this does not address the issue of the different results, 
however.

I tried "put the useUnicode" --> result is false

The MCstring struct is defined in XCmdGlue.h and is of type 'const char 
*' -- no indication of signed vs. unsigned


Changing the type of buffer to unsigned char * has no obvious effect 
(same problem).



On Oct 13, 2004, at 7:53 PM, Trevor DeVore wrote:

> On Oct 13, 2004, at 4:39 PM, Mark Wieder wrote:
>>
>> Second, you might try replacing
>>         *retstring = buffer;
>>
>> with
>>         *retstring = istrdup(buffer);
>>         free (buffer);
>>
>> I think you're OK on this one since you're mallocing memory and not
>> freeing it, forcing the engine to do this for you, but I'm not sure.
>
> As long as the memory that *retstring is pointing to was created with 
> malloc (or similar) then you are okay and don't need to free it.  The 
> engine will take care of it.  So the original method is fine.
>
>
> -- 
> Trevor DeVore
> Blue Mango Multimedia
> trevor at mangomultimedia.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list