diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-01-15 11:14:31 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-18 03:41:34 +0100 |
commit | 0d0213f926bf5dd6e2e91a46b8211f64fa485c29 (patch) | |
tree | ad00986c42dd2501810115093779e3e8b5ae8852 /src/corelib | |
parent | d94ac55a013f970f81f382a38cb4722530fc99eb (diff) | |
download | qtbase-0d0213f926bf5dd6e2e91a46b8211f64fa485c29.tar.gz |
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>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qfilesystemengine_unix.cpp | 2 |
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; } |