> Anyway, we should chase a platform-dependent bug.

Different compilers make a difference too. Though, I don't know how
much the GCC on mac differs from the *nix gcc compilers.


> and in makeRelPath() (in filetools.cpp) we have:
>
>        docstring::size_type i = os::common_path(abspath, basepath);
>
>        if (i == 0) {
>                // actually no match - cannot make it relative
>                return abspath;
>        }
>
> So, next question would be: is uppercase() doing well on Mac?

This log indicates to me that outputFilename is able to make a
relative path with the same input, so my feeling says it really is
this save_abs_path_ boolean that differs.

GuiGraphics.cpp(554): paramsToDialog: name = Desktop/WAN_map.pdf
GuiGraphics.cpp(555): paramsToDialog: igp.filename.absFilename() =
/Users/ct/Desktop/WAN_map.pdf
GuiGraphics.cpp(556): paramsToDialog: fromqstr(bufferFilepath()) = /Users/ct/
GuiGraphics.cpp(557): paramsToDialog: buffer().filePath() = /Users/ct/

Clicking on pasted image:

GuiGraphics.cpp(554): paramsToDialog: name = /Users/ct/Desktop/WAN_map.pdf
GuiGraphics.cpp(555): paramsToDialog: igp.filename.absFilename() =
/Users/ct/Desktop/WAN_map.pdf
GuiGraphics.cpp(556): paramsToDialog: fromqstr(bufferFilepath()) = /Users/ct/
GuiGraphics.cpp(557): paramsToDialog: buffer().filePath() = /Users/ct/

> --
> Enrico
>

Vincent

Reply via email to