--nextPart1777527.B4lPsCdmoZ Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le Mercredi 27 Juillet 2005 09:14, Andras Mantia a =E9crit : > Isn't this a bit overkill? Static a file can be expensive and until now > we could rely that isLocalFile() is a fast method. Can system:// and > home:// be not a local file? If it cannot be, I think the check in KURL > should be modified. Well, the problem is not really there IMHO. In fact most applications expec= t=20 that if isLocalFile() is true, then they can use the path as a unix path. S= o=20 isLocalFile() is really synonym of protocol=3D=3D"file" in the end. This ch= eck=20 can't be changed it would break a lot of things. As for the stat() cost, we might have a solution. We could introduce anothe= r=20 flag for protocols indicating if they use UDS_LOCAL_PATH or not (this is th= e=20 UDS Atom used to translate in local path). Then we could avoid the stat() i= n=20 NetAccess::mostLocalURL() when this flag is false. Regards. =2D-=20 K=E9vin 'ervin' Ottens, http://ervin.ipsquad.net "Ni le ma=EEtre sans disciple, Ni le disciple sans ma=EEtre, Ne font reculer l'ignorance." --nextPart1777527.B4lPsCdmoZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBC5z8SB0u7y43syeIRAlbmAKCtcv6uzIW6yWbkGxzJay12KM2+rQCfc41p tkd2FaronFegpBZMnTXcFZI= =dtoj -----END PGP SIGNATURE----- --nextPart1777527.B4lPsCdmoZ--