projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Resolve
[yaz-moved-to-github.git]
/
src
/
charconv.tcl
diff --git
a/src/charconv.tcl
b/src/charconv.tcl
index
4412c2a
..
f09b82e
100644
(file)
--- a/
src/charconv.tcl
+++ b/
src/charconv.tcl
@@
-414,7
+414,7
@@
if {![info exists ifiles]} {
usage
}
-set ofilehandle [open $ofile w]
+set ofilehandle [open ${ofile}.tmp w]
preamble_trie $ofilehandle $ifiles $ofile
foreach ifile $ifiles {
@@
-422,4
+422,6
@@
foreach ifile $ifiles {
}
close $ofilehandle
+file rename -force ${ofile}.tmp ${ofile}
+