OSDN Git Service

avoid stat() in QFileSystemEngine::currentPath()
authorIvailo Monev <xakepa10@laimg.moc>
Thu, 19 Dec 2019 00:13:38 +0000 (00:13 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Thu, 19 Dec 2019 00:13:38 +0000 (00:13 +0000)
commit0ff1805a8e9dbd663fa8cebf035c89d01b2a71a3
tree174b8f8ee9a2ad699a70f0fbb9db092214e14e76
parent9d66370a4056eb66dedb93579aafed7b22ed68bb
avoid stat() in QFileSystemEngine::currentPath()

both get_current_dir_name() and getcwd() do it internally, atleast in glibc

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/io/qfilesystemengine_unix.cpp