author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 17 Jul 2007 05:50:10 +0000 (01:50 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 17 Jul 2007 05:50:10 +0000 (01:50 -0400) | ||
commit | 6eb420ef61317b2efa2993868a6302afed6ae60a | |
tree | 541e028be7e8c85d4236f9fff05d8c4b73a17533 | tree | snapshot |
parent | ec4fceece4a9f155afcadec254caff5cef781c67 | commit | diff |
git-gui: Always disable the Tcl EOF character when reading
On Windows (which includes Cygwin) Tcl defaults to leaving the EOF
character of input file streams set to the ASCII EOF character, but
if that character were to appear in the data stream then Tcl will
close the channel early. So we have to disable eofchar on Windows.
Since the default is disabled on all platforms except Windows, we
can just disable it everywhere to prevent any sort of read problem.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
On Windows (which includes Cygwin) Tcl defaults to leaving the EOF
character of input file streams set to the ASCII EOF character, but
if that character were to appear in the data stream then Tcl will
close the channel early. So we have to disable eofchar on Windows.
Since the default is disabled on all platforms except Windows, we
can just disable it everywhere to prevent any sort of read problem.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
lib/blame.tcl | diff | blob | history | |
lib/commit.tcl | diff | blob | history | |
lib/diff.tcl | diff | blob | history |