[Libreoffice] [PATCH] compiling libreoffice-3-4 sal module with dbglevel=2: init test fails

Lionel Elie Mamane lionel at mamane.lu
Thu Aug 4 03:07:27 PDT 2011

A two-day-old clone of branch libreoffice-3-4 fails to build module
sal with dblevel=2, unittest fails: osl_old_test_file.cxx assertion
"#failure 1.1": the failure is that blah/a/.. is not transformed to
"blah", but stays "blah/a/.."

That's because in my setup symlinks are allowed, and in that setup
osl_getAbsoluteFileURL does not touch the last component (the part
after the last slash).

The attached patch changes that to _still_ treating the special names
"." and "..": they cannot be symlinks, so they don't have to be
protected against treatment and we want them treated.


More information about the LibreOffice mailing list