Thomas Heller added the comment:

> Greg Couch added the comment:
> Turns out callproc.c forgot to include <ffi_common.h> after <ffi.h>
> which conditionally includes alloca.h.  So it's a one-line fix.

This would not work.  <ffi_common.h> is a file private to libffi;
when Python is configured to use the system ffi-library (--with-systemffi)
this file is not available.

I would tend to replace the three alloca() calls in the function
_CallProc() in callbacks.c with calls to malloc().  All the other
occurrences of alloca() are only compiled on windows.

Python-bugs-list mailing list 

Reply via email to