* cygcheck.cc (dump_sysinfo_services): Quote the path for popen.
This commit is contained in:
parent
8ca367408d
commit
952801c27e
@ -1,3 +1,7 @@
|
|||||||
|
2009-01-05 Pierre Humblet <Pierre.Humblet@ieee.org>
|
||||||
|
|
||||||
|
* cygcheck.cc (dump_sysinfo_services): Quote the path for popen.
|
||||||
|
|
||||||
2008-12-30 Pierre Humblet <Pierre.Humblet@ieee.org>
|
2008-12-30 Pierre Humblet <Pierre.Humblet@ieee.org>
|
||||||
|
|
||||||
* cygcheck.cc (pretty_id): Quote the path for popen.
|
* cygcheck.cc (pretty_id): Quote the path for popen.
|
||||||
|
@ -1137,7 +1137,7 @@ dump_sysinfo_services ()
|
|||||||
/* For verbose mode, just run cygrunsrv --list --verbose and copy output
|
/* For verbose mode, just run cygrunsrv --list --verbose and copy output
|
||||||
verbatim; otherwise run cygrunsrv --list and then cygrunsrv --query for
|
verbatim; otherwise run cygrunsrv --list and then cygrunsrv --query for
|
||||||
each service. */
|
each service. */
|
||||||
snprintf (buf, sizeof (buf), (verbose ? "\"%s\" --list --verbose" : "%s --list"),
|
snprintf (buf, sizeof (buf), (verbose ? "\"%s\" --list --verbose" : "\"%s\" --list"),
|
||||||
cygrunsrv);
|
cygrunsrv);
|
||||||
if ((f = popen (buf, "rt")) == NULL)
|
if ((f = popen (buf, "rt")) == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user