diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-07 13:01:33 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-07 13:30:35 +0200 |
commit | 50fb8bfb033dadb90084f7a3b5bbddec4e5dd1a1 (patch) | |
tree | 2c955b0ab19a781e87a673f7f2f5c342981cacf2 /src/shared/cplusplus/Parser.cpp | |
parent | bd660f9b69371d8beab5d99c315fc63818f60b73 (diff) | |
download | qt-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