'HAVE_DOSISH_SYSTEM' - conversion of backslashes to slashes kills fd_cache_invalidate() from iobuf.c

Werner Koch wk at gnupg.org
Mon Dec 6 10:45:46 CET 2004

On Fri, 3 Dec 2004 23:24:15 +0100, Tobias Winkler said:

> The reason is that the file paths from the  close_cache
> are stored with backslashes (in win32 of course ;)
> and the given file path (the one to close) was using (some)
> slashes instead - therefore the string comparison in

Thanks for that clue.  This is probably the reason of a couple of bugs
we have never been able to replicate.

> Alternatively one could replace the strcmp() from fd_cache_invalidate()
> with a function which does recognize backslashes as slashes.

That is waht I am going to do.



More information about the Gnupg-devel mailing list