>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Clearly, the fix is to ensure that the '\' characters are
Angus> converted '/' ones. However, what function am I supposed to
Angus> use? I find these:

Angus> string os::slashify_path(string p)

Angus> string os::internal_path(string const &p) 

Angus> So, on _WIN32 the two functions are identical. But what is
Angus> happening under cygwin? Anyone have any clue?

I think we should probably use only internal_path and only work inside
LyX with paths which use / as separator. Of course, a second problem
is that win32 names will retain drive numbers, but stuff in filetools
should take care of that.

A grep shows a lot of uses of slashify_path, I wonder what would
happen if we changed these to internal_path. As far as I can see, this
could do harm only on cygwin...

I would say that all paths that come from the os should go through
internal_path and then external_path should be used for all processes
invocations. 

JMarc

Reply via email to