summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-01-15 11:14:31 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-18 03:41:34 +0100
commit0d0213f926bf5dd6e2e91a46b8211f64fa485c29 (patch)
treead00986c42dd2501810115093779e3e8b5ae8852
parentd94ac55a013f970f81f382a38cb4722530fc99eb (diff)
Store inode numbers in decimal notation
ls(1) with the -i option and stat(1) show inode numbers in decimal. If anyone ever tries debugging this problem, we should present the information that other tools would show too. Change-Id: I54b24edba5b028cc86744ca302ab918f8baa2d2b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index fa0e07b045..30ba16a68e 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -270,7 +270,7 @@ QByteArray QFileSystemEngine::id(const QFileSystemEntry &entry)
}
QByteArray result = QByteArray::number(quint64(statResult.st_dev), 16);
result += ':';
- result += QByteArray::number(quint64(statResult.st_ino), 16);
+ result += QByteArray::number(quint64(statResult.st_ino));
return result;
}