[Top][All Lists]

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

Re: quotearg.c's shell_quoting_style and MinGW

From: Bruno Haible
Subject: Re: quotearg.c's shell_quoting_style and MinGW
Date: Mon, 07 May 2012 00:13:50 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Paul Eggert wrote:
> Thanks.  Either of those would work.

Good. I'll concentrate on option 4 in the next few days. This part is
needed for option 3 as well.

> I prefer option 3
> (popenv / systemv) as it offers more opportunity for
> optimization on GNUish hosts, which can use vfork or the
> equivalent to get better performance.  Such optimizations
> aren't that important for diffutils but might matter
> more in other applications.

OK. I think Eli's immediate needs will be fulfilled by option 4
(system-quote.h), but if you want to implement option 3 (popenv, systemv)
on top of that, feel free to.

For applications that want the optimized code - no use of /bin/sh and
use of vfork() if possible - we currently have the 'execute' and 'spawn-pipe'
modules; so the current situation is not that bad. (It would be even better
if we had a posix_spawn that works also on mingw. Has been on my TODO list
for ages...)


reply via email to

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