change in handling quotes in cygwin package from 3.1.4-1 to 3.1.5-1
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Jul 6 18:15:49 GMT 2020
On Jul 6 10:14, Josh Thompson wrote:
> > > On Monday, June 22, 2020 4:11:35 PM EDT Ken Brown wrote:
> > > > On 6/15/2020 12:21 PM, Josh Thompson wrote:
> > > > [...]
> > > > > 3.1.4:
> > > > > $ cmd.exe /c "echo \""
> > > > > "
> > > > >
> > > > > 3.1.5:
> > > > > $ cmd.exe /c "echo \""
> > > > > \"
> > > > [...]
> > > > After installing the rebuilt 3.1.4, however, the cmd.exe call above
> > > > exhibits the "3.1.5" behavior rather than the "3.1.4" behavior. I
> > > > can't see anything in the patches that would explain this. I thought
> > > > maybe it was a compiler optimization problem, but rebuilding without
> > > > optimization doesn't change anything.
> > > [...]
> > > It sounds like it will be difficult to change the quote behavior. So,
> > > we'll work to get VCL updated to handle the new behavior.
> >
> > I have a fix for that. It's a long standing bug, a buffer overrun,
> > which seem to have had no effect pre-3.1.5 only because the older GCC
> > toolchain had a subtily different stack allocation strategy.
> >
> > I uploaded developer snapshots to https://cygwin.com/snapshots/
> > for testing. Please give this a try and report back.
> >
> > If this fixes your problem, the bug is serious enough to qualify for
> > a Cygwin 3.1.6 RSN.
>
> Thank you for this! I can confirm that replacing cygwin1.dll with the
> cygwin1-20200706.dll that you uploaded to the snapshot site fixes the quote
> issue.
>
> I upgraded an installation I had to 3.1.5-1 and tested that I was seeing the
> problem by running
>
> cmd.exe /c "echo \""
> \"
>
> Next, I downloaded, uncompressed, and overwrote cygwin1.dll with
> cygwin1-20200706.dll and tested again
>
> cmd.exe /c "echo \""
> "
>
> Great job working through that issue.
Thanks for testing and confirming. Expect 3.1.6 in the next couple
of days.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
More information about the Cygwin
mailing list