[Xapian-devel] Patch for Modern Cygwin

Haroogan haroogan at gmail.com
Sat Oct 19 02:22:16 BST 2013


Hello,

Please, change line #63 in '<xapian-core-1.3.1>/backends/flint-lock.cc' 
from:

     cygwin_conv_to_win32_path(filename.c_str(), fnm);

to:

     cygwin_conv_path(0, filename.c_str(), fnm, MAX_PATH);

since `cygwin_conv_to_win32_path` is now deprecated.
Or perhaps detect the version of Cygwin, and keep both variants to 
ensure backward compatibility.
I can confirm that after this change everything builds just fine.

Best regards,
Alexander Shukaev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20131019/2e4b8120/attachment.html>


More information about the Xapian-devel mailing list