Commit 37643bf4 authored by zimmermann@webkit.org's avatar zimmermann@webkit.org

2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>

        Not reviewed.

        String operator+ reallocates unnecessary when concatting > 2 strings
        https://bugs.webkit.org/show_bug.cgi?id=58420

        Attempt to fix the WinCE build. WinCE/WinCairo still won't link because of unresolved symbols, hmm. If we had EWS for those, I would have caught the problem earlier.

        * platform/wince/FileSystemWinCE.cpp:
        (WebCore::listDirectory):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 256315ac
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
String operator+ reallocates unnecessary when concatting > 2 strings
https://bugs.webkit.org/show_bug.cgi?id=58420
Attempt to fix the WinCE build. WinCE/WinCairo still won't link because of unresolved symbols, hmm. If we had EWS for those, I would have caught the problem earlier.
* platform/wince/FileSystemWinCE.cpp:
(WebCore::listDirectory):
2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
......@@ -32,10 +32,10 @@
#include "FileSystem.h"
#include "NotImplemented.h"
#include "PlatformString.h"
#include <wincrypt.h>
#include <windows.h>
#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
......@@ -310,7 +310,7 @@ Vector<String> listDirectory(const String& path, const String& filter)
// is so far only called by PluginDatabase.cpp to list
// all plugins in a folder, where it's not supposed to list sub-folders.
if (!(findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
entries.append(root + findData.cFileName);
entries.append(root + String(findData.cFileName));
} while (FindNextFile(hFind, &findData));
FindClose(hFind);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment