diff options
| author | Mark Palange (Mani) <palange@lindenlab.com> | 2011-01-21 15:55:31 -0800 |
|---|---|---|
| committer | Mark Palange (Mani) <palange@lindenlab.com> | 2011-01-21 15:55:31 -0800 |
| commit | 1e9111466bb8a77fc8054ca3d458a6692579fd3e (patch) | |
| tree | 16b3642ca58b29e5037aa9563fba84179df9ceb5 /indra/newview/llappviewerlinux.cpp | |
| parent | dd3607cba651439fb1f73e78df38a160a2ef4f5c (diff) | |
| parent | 45e25e83cf7457f495b051b9f7683ee299547290 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llappviewerlinux.cpp')
| -rw-r--r-- | indra/newview/llappviewerlinux.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llappviewerlinux.cpp b/indra/newview/llappviewerlinux.cpp index 898cc1c0ba..fc7a27e5e0 100644 --- a/indra/newview/llappviewerlinux.cpp +++ b/indra/newview/llappviewerlinux.cpp @@ -30,6 +30,7 @@ #include "llcommandlineparser.h" +#include "lldiriterator.h" #include "llmemtype.h" #include "llurldispatcher.h" // SLURL from other app instance #include "llviewernetwork.h" @@ -504,7 +505,9 @@ std::string LLAppViewerLinux::generateSerialNumber() // trawl /dev/disk/by-uuid looking for a good-looking UUID to grab std::string this_name; - while (gDirUtilp->getNextFileInDir(uuiddir, "*", this_name)) + + LLDirIterator iter(uuiddir, "*"); + while (iter.next(this_name)) { if (this_name.length() > best.length() || (this_name.length() == best.length() && |
