bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Óscar Fuentes
Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows/MS-DOS
Date: Mon, 02 Aug 2010 17:23:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Laimonas Vėbra <laimonas.vebra@gmail.com> writes:

> Óscar Fuentes wrote:
>
>> 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.
>
> Isn't it wsprintf (used in cmdproxy.c to quote args and for other purposes):
> http://msdn.microsoft.com/en-us/library/ms647550(VS.85).aspx
>
> that imposes 1024 buffer/string length limit...?

Yes!

Patch in progress...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]