KURL::isLocalFile uses gethostname

Dirk Mueller mueller at kde.org
Thu May 1 13:23:31 BST 2003

On Don, 01 Mai 2003, Simon Hausmann wrote:

> It's not that gethostname results in a slow dns lookup or something.
> At least on glibc gethostname costs one uname() syscall 'only' .
> Maybe even that could be cached (assuming the change of hostname to
> be an exceptional case here) .

Its still a syscall overhead. 


More information about the kde-core-devel mailing list