Richard M Kreuter wrote:
> (I'm trying to clean up some of the types and sizes in sb-unix, which
> lead to a few bugs and limitations on various ports.)
> In src/code/unix.lisp, the sizes of the st-dev, st-rdev, st-size, and
> st-blksize slots of the wrapped_stat alien struct and the sizes of the
> types nlink-t, uid-t, gid-t on Win32 are conditionalized in ways that
> seem to have to agree with the conditional typedefs and structure
> members in src/runtime/wrap.c. Does anybody object to putting all of
> the conditional logic into a header in the runtime and grovelling it,
> for instance along the lines of the patch below? I don't think this
> changes anything. Works okay on Linux/ppc, Linux/x86, NetBSD/x86.
I tested this patch on Linux/mips and it works just fine.