summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Parser.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-08-07 13:01:33 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-08-07 13:30:35 +0200
commit50fb8bfb033dadb90084f7a3b5bbddec4e5dd1a1 (patch)
tree2c955b0ab19a781e87a673f7f2f5c342981cacf2 /src/shared/cplusplus/Parser.cpp
parentbd660f9b69371d8beab5d99c315fc63818f60b73 (diff)
downloadqt-creator-50fb8bfb033dadb90084f7a3b5bbddec4e5dd1a1.tar.gz
Don't crash when the /proc/<pid>/stat file failed to open.
This may happen if a process exits after we got the /proc listing. If we fail to open the file, readAll() returns empty, which means split() returns an empty list, which means you can't do at(1).
Diffstat (limited to 'src/shared/cplusplus/Parser.cpp')
0 files changed, 0 insertions, 0 deletions