-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.7.0
-
None
Subtask of http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1361 (Qt Creator checking for version control
directories .git/.hg and qmake.cache and accidentally creating them when used with autofs ):
The following code causes autofs to create a directory called ".willi":
QDir dir ("."); do { if (QFileInfo(dir,".willi" ).exists()) { qDebug() << dir.absolutePath(); return 1; } } while (dir.cdUp());
dr-xr-xr-x 3 root root 0 7. Mai 16:00 .qmake.cache dr-xr-xr-x 3 root root 0 7. Mai 16:00 .hg dr-xr-xr-x 3 root root 0 7. Mai 16:00 .git dr-xr-xr-x 3 root root 0 7. Mai 16:06 .willi drwxr-xr-x 10 root root 0 7. Mai 16:06 .