RE: [PATCH] testsuite and Win32 compilation

2001-09-15 Thread Brent Dax
Brent Dax: # Mattia Barbon: # # > ## +#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 l

RE: [PATCH] testsuite and Win32 compilation

2001-09-15 Thread Brent Dax
Mattia Barbon: # > ## +#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

RE: [PATCH] testsuite and Win32 compilation

2001-09-15 Thread Benjamin Stuhl
--- Brent Dax <[EMAIL PROTECTED]> wrote: > Gibbs Tanton - tgibbs: > # ## +#if defined(WIN32) > # ## +program_code = malloc( file_stat.st_size ); > # ## +#else > # > # Also, since more than win32 is not going to have mmap, > # perhaps you could add > # a Configure #define for HAS_MMAP or someth

RE: [PATCH] testsuite and Win32 compilation

2001-09-15 Thread Mattia Barbon
> ## +#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

RE: [PATCH] testsuite and Win32 compilation

2001-09-15 Thread Brent Dax
Gibbs Tanton - tgibbs: # ## +#if defined(WIN32) # ## +program_code = malloc( file_stat.st_size ); # ## +#else # # Also, since more than win32 is not going to have mmap, # perhaps you could add # a Configure #define for HAS_MMAP or something like that. # Then you could # test the cc compiler to

RE: [PATCH] testsuite and Win32 compilation

2001-09-14 Thread Brent Dax
Mattia Barbon: # > PLEASE can someone rewrite the tests to actually *test* things # > and print "ok 1\n" and so on? # Here it is ( for the second time ) # # > Quick, or I'll call Schwern in. # Ah, I thought you missed my patches, then I was correct # both attached ... (in things.diff) # -C_FLAGS =