WinDiff fails (the release version), crashes (the CVS
build) when using it to do a diff on file.
The bug has appeared in the new beta versions of
WinCVS. It is actually a bug in WinCVS which keeps the
file locked when checking out a temoprary copy and
However WinMereg can't open the locked file for readin
(WinMerge bug), and additionally the CVS version of
code does not clean up either, causing a crash.
The problem is in CCrystalTextBuffer::LoadFromFile
The options for CreateFile shold be changed. I changed
the options to following to get it to work.
FILE_SHARE_READ + FILE_SHARE_WRITE
Previously it was just FILE_SHARE_READ.
Additionally the __finally block does not clean up a
invalid file handle, causing a crash in subsequent file
Hope this helps. If you need more info, email me at