[Xapian-devel] Available backends in xapian.h

franz.g at tin.it franz.g at tin.it
Thu May 5 14:29:41 BST 2005


Here we are again...

You say:

>I guess the best approach is to convert "\" to "/" in any
>paths or filenames acquired from such tools.

I think that this should be done after verifying that we are on Win32, as
"\" is allowed on UNIX: one can be so masochistic to do

[franz at discovery franz]$ mkdir odd\\dir
[franz at discovery franz]$ cd odd\\dir/
[franz at discovery odd\dir]$ touch odd\\file
[franz at discovery odd\dir]$ ls -l
total 0
-rw-r--r--  1 franz staff 0 May  5 15:24 odd\file
[franz at discovery odd\dir]$

still being legal! ;-)

Cheers,

F.





More information about the Xapian-devel mailing list