Re: [bug] globify dospath reacts poorly with escaped double quotes

2019-10-10 Thread Brian Inglis
On 2019-10-10 02:30, Mingye Wang wrote: > On Tue, 8 Oct 2019 14:09:18 -0600, Brian Inglis wrote: >> On 2019-10-08 03:05, Mingye Wang wrote: >> >> This bug is inherited from early versions of Cygwin. It's so old that >>> MSYS2 has this problem too. >> >> Probably not a bug then but a feature for Cy

Re: [bug] globify dospath reacts poorly with escaped double quotes

2019-10-10 Thread Ken Brown
On 10/8/2019 5:05 AM, Mingye Wang wrote: > Hi, > > This bug is inherited from early versions of Cygwin. It's so old that > MSYS2 has this problem too. > > There is no way of conveying a double quote in an argument once > globify() decides it has seen a dospath. Neither the `\"` nor `""` > work, b

Re: [bug] globify dospath reacts poorly with escaped double quotes

2019-10-10 Thread Mingye Wang
On Tue, 8 Oct 2019 14:09:18 -0600, Brian Inglis wrote: > Msys2 tools have to make their own arrangements if they support native Windows > paths. > Personally I found when I used to use DOS and Windows tools, it was easier > using > slashes instead of backslashes as directory separators, as most i

Re: [bug] globify dospath reacts poorly with escaped double quotes

2019-10-08 Thread Brian Inglis
On 2019-10-08 03:05, Mingye Wang wrote: > This bug is inherited from early versions of Cygwin. It's so old that > MSYS2 has this problem too. Probably not a bug then but a feature for Cygwin. Msys2 is another system with different goals, using GNU toolchains to build native Windows programs, not a

[bug] globify dospath reacts poorly with escaped double quotes

2019-10-08 Thread Mingye Wang
Hi, This bug is inherited from early versions of Cygwin. It's so old that MSYS2 has this problem too. There is no way of conveying a double quote in an argument once globify() decides it has seen a dospath. Neither the `\"` nor `""` work, because they are both unified to `\"` in quoted() and turn