Mail Archives: djgpp-workers/2003/05/11/23:43:36
> > > To remedy this, we need to quote every arg that needs it (or maybe
> > > just quote all of them).
> >
> > I'd prefer not. The old code didn't.
>
> The old code used spawn* which doesn't require such characters to be
> quoted. spawn* functions already know that each arcg they get is a
> single string, so any special characters there don't matter.
The original dxegen code used system, didn't quote, and was compatible
with non-DJGPP platforms.
The new dxe3gen code uses spawn, which is NOT compatible for cross
compiles.
I'm willing to either make it cross compile compatible with a quick
conversion to system, or leave it as it is with spawn and then we
just don't support cross builds.
> > If we really require that, then maybe we don't need to have cross
> > compile support and should leave it the way it is.
>
> An alternative would be to rewrite the portability layer for spawn*
> that uses exec*, not `system'. exec* and spawn* share the wayt hey
> treat their arguments: they both don't require quoting.
Feel free to do so, but it's not in the library right now, and I don't
have time to do it and test it.
- Raw text -