changeset 802:88ef969518a1

* ecosadmin.tcl: Prevent calls to 'cygpath' with an empty path argument.
author jld
date Wed, 05 Mar 2003 16:41:26 +0000
parents c6e4e4cbfa97
children 4ce5ea5be254
files packages/ChangeLog packages/ecosadmin.tcl
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/ChangeLog
+++ b/packages/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-05  John Dallaway  <jld@ecoscentric.com>
+
+	* ecosadmin.tcl: Prevent calls to 'cygpath' with an empty
+	path argument.
+
 2003-02-25  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* ecos.db: Added the Simple Network Time Protocol (SNTP) client.
--- a/packages/ecosadmin.tcl
+++ b/packages/ecosadmin.tcl
@@ -792,7 +792,7 @@ proc ecosadmin::is_empty_directory { dir
 
 proc ecosadmin::get_pathname_for_tcl { name } {
 
-	if { $ecosadmin::windows_host } {
+	if { ( $ecosadmin::windows_host ) && ( $name != "" ) } {
 
 		# If there is no logical drive letter specified
 		if { [ string match "?:*" $name ] == 0 } {