[MLton-devel] Posix.FileSys.pathconf
Stephen Weeks
sweeks@sweeks.com
Sat, 6 Sep 2003 14:19:28 -0700
The spec for Posix.FileSys.pathconf says that boolean values should be
encoded as SOME 0 or SOME 1. This implies that
pathconf (..., "SYNC_IO")
should never return NONE. However, on Linux, Poly/ML, SML/NJ, and
(the latest internal version of) MLton do return NONE for such a call.
This happens because pathconf returns -1 and leaves errno alone.
Maybe this should be considered as a bug in Linux? Or is the correct
thing to change the spec to encode true as SOME 1 and false as NONE?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel