GNU bug report logs -
#7785
rgrep is broken on woe32
Previous Next
Reported by: Sam Steingold <sds <at> gnu.org>
Date: Tue, 4 Jan 2011 23:41:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #122 received at 7785 <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 09 Jan 2011 00:13:09 +0200
> From: Laimonas Vėbra <laimonas.vebra <at> gmail.com>
> Cc: ofv <at> wanadoo.es, 7785 <at> debbugs.gnu.org, Sam Steingold <sds <at> gnu.org>
>
> As long as cmdproxy is meant to pass commands (and in principle; acting
> as a proxy and dealing with various shells and with different their
> behaviours, requirements) to the particular shell (cmd.exe), it's best
> to fix this bug in a cmdproxy, because this bug is only the „problem“ of
> the cmd.exe.
That's true, but quoting a file name with ".." can never do any
trouble to any reasonable shell, can it? Even cmd.exe doesn't mind if
we quote a program file name with backslashes.
Parsing quotes and treating them correctly is a large portion of what
cmd.exe does when it processes a command line. If we are going to
invest the non-trivial effort required for that, I'd rather we emulate
cmd.exe entirely in cmdproxy, because doing that would allow us to
resolve several other issues that are currently misfeatures or that
need kludgey workarounds. If someone wants to bite the bullet and
submit patches for that, they will be most welcome (for the trunk).
But in order to fix this problem safely on the release branch that
will enter a feature freeze in 2 weeks or so, we cannot introduce
invasive changes like that.
This bug report was last modified 14 years and 130 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.