'domain error' if input files lack newline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tkdiff (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tkdiff
If the input files do not contain any newlines (not even a final newline), then a pop-up appears with the following error:
domain error: argument not in valid range
domain error: argument not in valid range
while executing
"expr {int(($s2 - 1) * $factor) + $g(mapborder)}"
(procedure "create-map" line 23)
invoked from within
"create-map map $mapwidth $mapheight"
(procedure "map-resize" line 28)
invoked from within
"map-resize 0.0 1.0"
I will attach demo files.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tkdiff 1:4.1.4-1
ProcVersionSign
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Sat Oct 2 23:45:08 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: tkdiff