Re: [PATCH] fmt-merge-msg: avoid open "-|" list form for Perl 5.6
- From
- Mark Wooding <mdw@distorted.org.uk>
- Date
- Mar 2, 2006, 15:18 UTC
- Message-ID
- <slrne0e36r.fr9.mdw@metalzone.distorted.org.uk>
- In-Reply-To
- <81b0412b0603020618q3b205cdeuabc7e204044cca5b@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> wrote:
> AFAIK, windows has only one argument, returned by GetCommandLine?
This is true, but there's a standard quoting convention which (in particular) Microsoft's C library uses to split the single argument back into an argv. The spawn* functions quote; the C library startup stuff unquotes and splits.
The actual quoting convention is /horrible/. I had to implement the darned thing once. See
http://sources.redhat.com/ml/cygwin/1999-08/msg00701.html
for the details.
-- [mdw]