mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #1042
- Fixed a bug where the diagnostics command failed to detect missing external utilities on Solaris and NetBSD.
This commit is contained in:
parent
39456a3243
commit
276971675a
2 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,8 @@ Bugs
|
||||||
+ Fixed bug #1038, which prints blank lines with bulk changes and when the
|
+ Fixed bug #1038, which prints blank lines with bulk changes and when the
|
||||||
verbose attributes does not specify it. Lines do a better separation between
|
verbose attributes does not specify it. Lines do a better separation between
|
||||||
each changes also.
|
each changes also.
|
||||||
|
+ Fixed bug #1042, where the 'diagnostics' command failed to detect missing
|
||||||
|
external utilities on Solaris and NetBSD
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
std::vector <std::string> matches;
|
std::vector <std::string> matches;
|
||||||
char buffer [1024] = {0};
|
char buffer [1024] = {0};
|
||||||
FILE* fp;
|
FILE* fp;
|
||||||
if ((fp = popen ("scp 2>&1", "r")))
|
if ((fp = popen ("/usr/bin/env scp 2>&1", "r")))
|
||||||
{
|
{
|
||||||
char* p = fgets (buffer, 1023, fp);
|
char* p = fgets (buffer, 1023, fp);
|
||||||
pclose (fp);
|
pclose (fp);
|
||||||
|
@ -243,7 +243,7 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
<< "\n";
|
<< "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fp = popen ("rsync --version 2>&1", "r")))
|
if ((fp = popen ("/usr/bin/env rsync --version 2>&1", "r")))
|
||||||
{
|
{
|
||||||
char* p = fgets (buffer, 1023, fp);
|
char* p = fgets (buffer, 1023, fp);
|
||||||
pclose (fp);
|
pclose (fp);
|
||||||
|
@ -260,7 +260,7 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fp = popen ("curl --version 2>&1", "r")))
|
if ((fp = popen ("/usr/bin/env curl --version 2>&1", "r")))
|
||||||
{
|
{
|
||||||
char* p = fgets (buffer, 1023, fp);
|
char* p = fgets (buffer, 1023, fp);
|
||||||
pclose (fp);
|
pclose (fp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue