Check-in [56100091ad]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Put catch arround setting mtime -- newer versions of Android do not like it.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:56100091adf66e456b1b1ac62c23cf92241650c7
User & Date: gwlester 2014-12-08 06:11:58
Context
2014-12-08
15:01
Starting work on WebView Server. check-in: e0088541d1 user: gwlester tags: trunk
06:11
Put catch arround setting mtime -- newer versions of Android do not like it. check-in: 56100091ad user: gwlester tags: trunk
03:39
Serve and create short cuts working. check-in: 95376977d4 user: gwlester tags: trunk
Changes

Changes to CreateShortCuts.tcl.

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
                if {!$fileExists || ($fileMtime < $date)} {
                    set ::status "Downloading '$fileName'..."
                    set ofd [open $fileName w]
                    set query [::http::formatQuery COMMAND GET FILE $fileName]
                    set token [::http::geturl $url -query $query -channel $ofd]
                    ::http::wait $token
                    close $ofd
		    file mtime $fileName $date
                    ::http::cleanup $token
                }
            }
        }
        set filesDownloaded 1
    }
}







|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
                if {!$fileExists || ($fileMtime < $date)} {
                    set ::status "Downloading '$fileName'..."
                    set ofd [open $fileName w]
                    set query [::http::formatQuery COMMAND GET FILE $fileName]
                    set token [::http::geturl $url -query $query -channel $ofd]
                    ::http::wait $token
                    close $ofd
		    catch {file mtime $fileName $date}
                    ::http::cleanup $token
                }
            }
        }
        set filesDownloaded 1
    }
}