Version: 2.0 (using KDE KDE 3.0.5) Installed from: SuSE RPMs OS: Linux Kompare doesn't compare files if at least one of the files has no newline at the end. It only shows an empty window. I can reproduce this bug as follows: echo -n Test > file1 echo -n Test2 > file2 kompare file1 file2
The problem is the LANG environment. With "LANG=de_DE kompare file1 file2" I can reproduce this bug. The line "setEnvironment( "LANG", "C");" in the constructor of KompareProcess solves the problem for me and it seems already fixed in CVS.
Does not work for me in the make it cool branch (it has yet again a rewritten parser) so i'll have to fix it there and keep this bug open as a reminder of that.
i think i fixed it all in make_it_cool too, i'll do some more testing but i'll change it to worksforme anyway.