Browse Source

punkcheck - try flush after writing file

master
Julian Noble 3 months ago
parent
commit
0bc8e5ae00
  1. 1
      src/bootsupport/modules/punkcheck-0.1.0.tm
  2. 1
      src/modules/punkcheck-0.1.0.tm

1
src/bootsupport/modules/punkcheck-0.1.0.tm

@ -91,6 +91,7 @@ namespace eval punkcheck {
set fd [open $punkcheck_file w]
chan configure $fd -translation binary
puts -nonewline $fd $newtdl
flush $fd
close $fd
return [list recordcount [llength $recordlist] linecount $linecount]
}

1
src/modules/punkcheck-0.1.0.tm

@ -91,6 +91,7 @@ namespace eval punkcheck {
set fd [open $punkcheck_file w]
chan configure $fd -translation binary
puts -nonewline $fd $newtdl
flush $fd
close $fd
return [list recordcount [llength $recordlist] linecount $linecount]
}

Loading…
Cancel
Save