From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6674: PATCH: fix assignment of grep-find-use-xargs on Windows Date: Mon, 02 Aug 2010 21:02:06 +0300 Message-ID: <837hk8zye9.fsf@gnu.org> References: <878w564xtc.fsf@telefonica.net> <871vax3fox.fsf@telefonica.net> <4C464307.8050407@gmail.com> <83pqyhcwit.fsf@gnu.org> <4C562BB7.6000702@gmail.com> <83aap5zp4d.fsf@gnu.org> <4C564391.8000904@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1280776089 11713 80.91.229.12 (2 Aug 2010 19:08:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2010 19:08:09 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Christoph Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 02 21:08:08 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Og0Mq-0004CG-7h for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Aug 2010 21:08:08 +0200 Original-Received: from localhost ([127.0.0.1]:47926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Og0Mp-0001g2-Ho for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Aug 2010 15:08:07 -0400 Original-Received: from [140.186.70.92] (port=39998 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Og0Mj-0001fx-UV for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 15:08:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Og0Mi-0004yp-Ji for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 15:08:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56972) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og0Mi-0004yk-H8 for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 15:08:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Og03O-0000EO-2o; Mon, 02 Aug 2010 14:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Aug 2010 18:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.1280774865879 (code B ref -1); Mon, 02 Aug 2010 18:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2010 18:47:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og036-0000E8-Ms for submit@debbugs.gnu.org; Mon, 02 Aug 2010 14:47:45 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og035-0000E2-Up for submit@debbugs.gnu.org; Mon, 02 Aug 2010 14:47:44 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:41183) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OfzLE-0005p3-Py for submit@debbugs.gnu.org; Mon, 02 Aug 2010 14:02:24 -0400 Original-Received: from [140.186.70.92] (port=43322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfzL6-0004rk-FO for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 14:02:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfzL0-0007yI-0K for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 14:02:11 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:51535) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfzKz-0007xy-NW for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 14:02:09 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L6J00H00DZIIJ00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 21:02:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.247.236]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6J00ADOE3F3IK0@a-mtaout20.012.net.il>; Mon, 02 Aug 2010 21:02:04 +0300 (IDT) In-reply-to: <4C564391.8000904@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 02 Aug 2010 14:48:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39165 Archived-At: > Date: Sun, 01 Aug 2010 22:03:29 -0600 > From: Christoph > CC: bug-gnu-emacs@gnu.org > > On 8/1/2010 9:10 PM, Eli Zaretskii wrote: > > > No. That's because the DOS port doesn't call command.com at all. It > > has its own implementation of a shell as part of the `system' function > > in the standard library it links against. That implementation > > supports pipes, redirection, quoting, long (up to 16KB) command lines, > > and a few other minor Posix features, like /dev/null. > > I see. Just out of curiosity, why can't this shell implementation be > used for Windows? (Looks like the original bug is fixed already, but I will answer this anyway, for the record.) Yes, we could do that. The source of the DJGPP implementation used by the DOS port is Free Software. However, this is a non-trivial job, because porting that code to Windows will need some reimplementation. E.g., pipes are implemented with temporary files and commands are run sequentially, one by one (this is DOS, right?), but on Windows we have real pipes and we should run both sides of the pipe concurrently.