File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11if {![package vsatisfies [package provide Tcl] 8.5 9]} {return }
2- package ifneeded uuid 1.0.8 [list source [file join $dir uuid.tcl]]
2+ package ifneeded uuid 1.0.9 [list source [file join $dir uuid.tcl]]
Original file line number Diff line number Diff line change 1- [vset VERSION 1.0.8 ]
1+ [vset VERSION 1.0.9 ]
22[comment {-*- tcl -*- doctools manpage}]
33[manpage_begin uuid n [vset VERSION]]
44[keywords GUID]
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ proc ::uuid::generate_tcl_machinfo {} {
4747 # If we have /dev/urandom just stream 128 bits from that
4848 # ##
4949 if {[file exists /dev/urandom]} {
50- set fin [open /dev/urandom r]
51- fconfigure $fin -encoding binary
50+ set fin [open /dev/urandom rb]
5251 binary scan [read $fin 128] H* machinfo
5352 close $fin
5453 } elseif {[catch {package require nettool}]} {
@@ -237,7 +236,7 @@ namespace eval ::uuid {
237236 unset e
238237}
239238
240- package provide uuid 1.0.8
239+ package provide uuid 1.0.9
241240
242241# -------------------------------------------------------------------------
243242# Local variables:
You can’t perform that action at this time.
0 commit comments