> ## +#if defined(WIN32)
> ## + program_code = malloc( file_stat.st_size );
> ## +#else
>
> #Should we be using malloc, or are we supposed to use our own allocator?
> #(I haven't been munging in the C, so I don't really know--it just looks
> #a little suspicious.)
>
> In memory.{h,c} there is a mem_sys_allocate(IV) that I would suggest.
Of course you're right.
New patch Attached
The attached patch replaces things.diff ( testsuite.diff should be
OK )
Regards
Mattia
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: win32.diff
Date: 15 Sep 2001, 10:35
Size: 5043 bytes.
Type: Unknown
win32.diff