问题描述:我的电脑安装了Windows xp,又在虚拟机里装了个Ubuntu9.04.代码都放在Ubuntu中,并通过samba与windows共享,而后用source insight打开。但问题在于:每次在 source insight里面做修改,而后切换到另一个文件的时后都会出现 “... has been changed outside of the editor. Do you want to reload the file?"
该问题在Fedora11上也会出现,但Redhat9不会。
解决办法:怀疑了很多地方,如Ubuntu的同步、samba的同步等,但最后在sourceinsight3.50.0051的更新日志中找到如下更新日志:
Fix: Sometimes files were said to be modified outside of SI, but they were not. This most likely happened on network drives. Under some conditions, the Windows directory information can lag for remote drives. SI now uses a better method of getting file information.
至此,问题明朗,将sourceinsight升级到最新版本。问题解决。