Red Hat 7.0
Stephen Weeks
MLton@sourcelight.com
Thu, 19 Oct 2000 10:31:58 -0700 (PDT)
> Note, part of the problem is that EVERY MLton program links to mlton-lib.o,
> and thus you get it all (bad) and this includes a call to tmpnam(). This is
> part of the reason that linking statically creates such huge files. This
> really must be broken up into many small .c files.
Breaking mlton-lib into many small .c files is on the todo list.
> Any way, I'm waiting to hear about the tmpnam() resolution before I put them
> on the web page.
I think the right fix is to write our own version of tmpnam in the basis library
and not use the C tmpnam at all. This seems no worse (security wise) and avoids
the problems with Red Hat 7.0. Henry, are you up to it?