[MLton-devel] errno problem

Stephen Weeks MLton@mlton.org
Fri, 7 Feb 2003 13:28:50 -0800


> Here  is something I saw on some Linux newsgroups about the Red Hat 8.1 glibc
> problems.  There isn't any indication of what the errno problem is, but  more
> importantly  it  isn't  clear  if it is going to get `fixed' by Red Hat or we
> will have to work around it.
...
> >[duke@erbium duke]$ /lib/libc.so.6
> >Incorrectly built binary which accesses errno, h_errno or _res directly.
> >Needs to be fixed.

Pretty much all of our accesses to errno are mediated by the following
three functions:
	MLton_errno
	Posix_Error_clearErrno
	Posix_Error_getErrno
So, if you'll let me know the new correct way to get and set errno,
I'll make the change.

A broken errno could explain what Roberto was seeing

	unhandled exception: SysErr Invalid argument

I'm currently downloading phoebe and hope to try it out later today.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel