Diff

Differences From Artifact [b17724e7c3]:

To Artifact [5bb6ad9ccb]:


    94     94   		vfs::unmount /kit
    95     95   	}
    96     96   	"zip" {
    97     97   		set kitfd [open $kitfile a+]
    98     98   		fconfigure $kitfd -translation binary
    99     99   
   100    100   		cd $vfsdir
   101         -		set zipfd [open "|zip -r - [glob *] 2> /dev/null"]
          101  +		if {$tcl_platform(platform) eq "windows"} {
          102  +			set null NUL
          103  +		} else {
          104  +			set null /dev/null
          105  +		}
          106  +		set zipfd [open "|zip -r - [glob *] 2> $null"]
   102    107   		fconfigure $zipfd -translation binary
   103    108   
   104    109   		fcopy $zipfd $kitfd
   105    110   
   106    111   		close $kitfd
   107    112   		if {[catch {
   108    113   			close $zipfd