Overview
Comment: | Corrected typo in ZipVFS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6e6c5fd01a4011c20b1deff9b1895833 |
User & Date: | rkeene on 2010-09-26 04:45:20 |
Other Links: | manifest | tags |
Context
2010-09-26
| ||
04:45 | Updated to set encoding from system (untested) check-in: 095125b887 user: rkeene tags: trunk | |
04:45 | Corrected typo in ZipVFS check-in: 6e6c5fd01a user: rkeene tags: trunk | |
04:45 | Updated to not build zlib package under Tcl 8.6+ as it is natively provided check-in: e639016509 user: rkeene tags: trunk | |
Changes
Modified kitsh/buildsrc/kitsh-0.0/zipvfs.tcl from [734aa55ae1] to [952d380c4b].
︙ | ︙ | |||
235 236 237 238 239 240 241 | proc u_short {n} { return [expr { ($n+0x10000)%0x10000 }] } } proc zip::DosTime {date time} { # The pre-VFS environment will not have access to "clock", so don't even # bother return 0 | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | proc u_short {n} { return [expr { ($n+0x10000)%0x10000 }] } } proc zip::DosTime {date time} { # The pre-VFS environment will not have access to "clock", so don't even # bother return 0 } proc zip::Data {fd arr {varPtr ""} {verify 0}} { upvar 1 $arr sb if { $varPtr != "" } { |
︙ | ︙ |
Modified tclvfs/patches/all/tclvfs-20080503-zipvfs-clock_and_append_to_exe.diff from [b74bd5027c] to [776417ea28].
︙ | ︙ | |||
9 10 11 12 13 14 15 | - while {$sec > 59} {incr sec -60} - while {$min > 59} {incr sec -60} - while {$hour > 23} {incr hour -24} - if {$mday < 1} {incr mday} - if {$mon < 1} {incr mon} - while {$mon > 12} {incr hour -12} + if {$sec > 59} {set sec 59} | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | - while {$sec > 59} {incr sec -60} - while {$min > 59} {incr sec -60} - while {$hour > 23} {incr hour -24} - if {$mday < 1} {incr mday} - if {$mon < 1} {incr mon} - while {$mon > 12} {incr hour -12} + if {$sec > 59} {set sec 59} + if {$min > 59} {set min 59} + if {$hour > 23} {set hour 23} + if {$mday < 1} {set mday 1} + if {$mday > 31} {set mday 31} + if {$mon < 1} {set mon 1} + if {$mon > 12} {set mon 12} - while {[catch { |
︙ | ︙ |