- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel

_directory_ if that happened to appear in the path!
This commit is contained in:
Daniel Stenberg 2008-08-12 07:21:39 +00:00
Родитель 2eba5f33b9
Коммит 14a5596346
3 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -6,6 +6,10 @@
Changelog Changelog
Daniel Stenberg (12 Aug 2008)
- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnel
_directory_ if that happened to appear in the path!
Yang Tse (12 Aug 2008) Yang Tse (12 Aug 2008)
- Added macros for minimum-width signed and unsigned curl_off_t integer - Added macros for minimum-width signed and unsigned curl_off_t integer
constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro constants CURL_OFF_T_C and CURL_OFF_TU_C. The clever double helper macro

Просмотреть файл

@ -51,6 +51,7 @@ This release includes the following bugfixes:
o re-use of connections with failed SSL connects in the multi interface o re-use of connections with failed SSL connects in the multi interface
o NTLM over proxy state was wrongly cleared when host connection was closed o NTLM over proxy state was wrongly cleared when host connection was closed
o Windows SSPI DLL loading is now done in curl_global_init() o Windows SSPI DLL loading is now done in curl_global_init()
o runtests.pl has an improved find-stunnel-and-invoke
This release includes the following known bugs: This release includes the following known bugs:
@ -72,7 +73,7 @@ advice from friends like these:
Phil Pellouchoud, Eduard Bloch, John Lightsey, Stephen Collyer, Tor Arntsen, Phil Pellouchoud, Eduard Bloch, John Lightsey, Stephen Collyer, Tor Arntsen,
Rolland Dudemaine, Phil Blundell, Scott Barrett, Andreas Schuldei, Rolland Dudemaine, Phil Blundell, Scott Barrett, Andreas Schuldei,
Peter Lamberg, David Bau, Pramod Sharma, Yehoshua Hershberg, Peter Lamberg, David Bau, Pramod Sharma, Yehoshua Hershberg,
Constantine Sapuntzakis, Lars Nilsson Constantine Sapuntzakis, Lars Nilsson, Andy Tsouladze
Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)

Просмотреть файл

@ -388,7 +388,8 @@ sub checkcmd {
my @paths=(split(":", $ENV{'PATH'}), "/usr/sbin", "/usr/local/sbin", my @paths=(split(":", $ENV{'PATH'}), "/usr/sbin", "/usr/local/sbin",
"/sbin", "/usr/bin", "/usr/local/bin" ); "/sbin", "/usr/bin", "/usr/local/bin" );
for(@paths) { for(@paths) {
if( -x "$_/$cmd") { if( -x "$_/$cmd" && ! -d "$_/$cmd") {
# executable bit but not a directory!
return "$_/$cmd"; return "$_/$cmd";
} }
} }