Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#282 closed defect (fixed)

QDIR problem

Reported by: Silvan Scherrer Owned by:
Priority: major Milestone: Qt 4.7.3 GA2
Component: General Version: 4.7.3
Severity: low Keywords:
Cc:

Description

QDIR(/@unixroot/usr/lib) produces e:/@unixroot/usr/lib when a app runs from drive e.
in the unixroot case i guess this is wrong.

Change History (6)

comment:1 by Silvan Scherrer, 12 years ago

Milestone: Qt EnhancedQt 4.next

comment:2 by Dmitry A. Kuminov, 12 years ago

The problem is fixed by manually performing kLIBC path rewrite in the OS/2 file engine code when calculating absolute paths. See r1112 for details.

Silvan, please check it with your apps, it should work now. Also please perform as many Qt tests as possible to make sure this change doesn't break anything (it shouldn't).

Note also that the proper solution is (IMHO) to fix the kLIBC's _abspath() call itself instead of doing this in Qt (or any other app). I will create a respective kLIBC ticket for discussing that.

comment:3 by Silvan Scherrer, 12 years ago

i did some tests and could not see any problems

comment:4 by Dmitry A. Kuminov, 12 years ago

Milestone: Qt 4.nextQt 4.7.3 GA2

comment:5 by Dmitry A. Kuminov, 12 years ago

Resolution: fixed
Status: newclosed

Good, closing (my tests within #267 also prove that as the certificate files use path rewrite).

comment:6 by Dmitry A. Kuminov, 12 years ago

I also created http://svn.netlabs.org/libc/ticket/267 for the _abspath() fix.

Note: See TracTickets for help on using tickets.