GNU bug report logs - #6674
PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Tue, 20 Jul 2010 03:51:02 UTC

Severity: normal

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: ofv <at> wanadoo.es, lekktu <at> gmail.com, 6674 <at> debbugs.gnu.org
Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs	on	Windows/MS-DOS
Date: Wed, 21 Jul 2010 01:18:55 +0300
> Date: Wed, 21 Jul 2010 00:41:23 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: lekktu <at> gmail.com, 6674 <at> debbugs.gnu.org
> 
> > From: Óscar Fuentes <ofv <at> wanadoo.es>
> > Cc: lekktu <at> gmail.com,  6674 <at> debbugs.gnu.org
> > Date: Tue, 20 Jul 2010 21:51:39 +0200
> > 
> > The issue is that "cmd.exe -c" seems to have a 1024 char limit when the
> > command contains a pipe (my guess is that the limit applies separatelly
> > to every command on the pipe chain) and cmdproxy.c prepends "cmd.exe -c"
> > to the command when it has a pipe, redirection, etc.
> 
> If that is true, we could implement the pipes in cmdproxy.  It's not
> difficult.

A better (and easier implemented) idea would be to create a temporary
batch file with the command line and run the batch file with cmd.exe.
The original command works just fine if invoked from a batch file.





This bug report was last modified 14 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.