Re: Unreliable BFD caching heuristic
Luis Machado <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/03/2013 09:33 PM, Petr Hluzín wrote: > > On 3 December 2013 16:27, Luis Machado <[email protected] > <mailto:[email protected]>> wrote: > > I did an experiment with using the inode number in the cache check. > It seems > > to work for the hosts that support that information. On Windows i > think we > > fake inode numbers based on the file name and timestamp, so it could be a > > simpler solution. > > > > Luis > > On Windows you can use GetFileInformationByHandle() function, see > http://msdn.microsoft.com/en-us/library/aa364952.aspx Thanks, but i don't think we would like to have windows-specific calls in such a generic portion of code.