develooper Front page | perl.makemaker | Postings from March 2005

Re: Last call for MM issues prior to 6.26

Thread Previous
From:
Yitzchak Scott-Thoennes
Date:
March 21, 2005 01:55
Subject:
Re: Last call for MM issues prior to 6.26
Message ID:
20050320221851.GA7804@efn.org
On Sun, Mar 20, 2005 at 01:48:35PM -0800, Michael G Schwern wrote:
> On Sun, Mar 20, 2005 at 12:06:51PM -0800, Yitzchak Scott-Thoennes wrote:
> > It's really a gray area.  cygwin aims at providing a linux-like
> > environment, and when one cygwin program starts another, the args are
> > passed in an actual array; it's just when a non-cygwin program starts
> > a cygwin program that the latter needs to perform what's usually the
> > shell's job of breaking up the command line into parameters.
> > 
> > For various and sundry reasons, in doing so, it only treats \ as an
> > escape character inside of "", so something like -DXS_VERSION=\"1.04\"
> > has the first \ as literal, and the second used to escape the second "
> > (leaving the opening " unmatched, but there's no way to reject
> > mismatched quotes as a shell would be able to do.)
> > 
> > The only possible change I can see would be to not treat the first "
> > as opening a quoted section, since there's no matching ", but the code
> > that does all this is extremely hairy, and I'm really reluctant to try
> > messsing with it.
> > 
> > Are you open to trying out the patch *after* 6.26 is out?
> 
> I'm doubtful.  I like to avoid touching the XS code as much as possible.
> I'd rather wait and see how Cygwin deals with it.

I'll see what ideas I can come up with; it doesn't sound like anyone
else will be persuing this.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About