[MLton] Re: [MLton-commit] r6699

Wesley W. Terpstra wesley at terpstra.ca
Sun Jun 14 15:58:49 PDT 2009


On Mon, Jun 15, 2009 at 12:41 AM, Matthew Fluet<fluet at tti-c.org> wrote:
> The commit and comments therein are by you; I don't know how they are meant
> to behave.

I don't know either. Escaping arguments was broken as reported by
someone on the list. So I wrote that test-case to see if they are
preserved correctly (they weren't). Then I made it pass on MinGW.

I don't have a cygwin environment, so I tried to leave the original
cygwin functionality intact (which was almost surely also buggy) and
made reference to some comments I had read from someone who claimed to
have implemented escaping on cygwin.

To fix this, someone with cygwin needs to figure out what to do to
arguments to have them unmolested. Google probably knows.

If I recall correctly escaping for exec, spawn, and CreateProcess
might not even all be the same.

I can look into this if you like, but I would need to setup a
cygwin/mlton environment. Currently I'm trying to debug my LLVM
codegen. =D



More information about the MLton mailing list