John Unsworth wrote:
> Hello,
>
> Can someone explain what happens now? Do we get notified of an official fix?
>
I added this patch to the CVS tree. Since the discussion centered around
the bug affecting Windows, I modified the suggested fix to be:
> /* malloc that will never return null */
> void *
> mallocnn(int s)
> {
>
> #if defined(malloc) && defined(_WIN32)
> #undef malloc
> #endif
>
> void *m = malloc(s ? s : 1);
>
> if (!m)
> croak("can't malloc");
>
> memset(m, 0, s ? s : 1);
>
> return m;
> }
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users