https://bugs.webkit.org/show_bug.cgi?id=145596
Unreviewed, fix build break on EFL and GTK port.
* dom/Text.cpp:
(WebCore::Text::formatForDebugger): Use strncpy() instead of strlcpy().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185148
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-06-02 Gyuyoung Kim <gyuyoung.kim@webkit.org>
+
+ [EFL][GTK] Fix build error since r185137
+ https://bugs.webkit.org/show_bug.cgi?id=145596
+
+ Unreviewed, fix build break on EFL and GTK port.
+
+ * dom/Text.cpp:
+ (WebCore::Text::formatForDebugger): Use strncpy() instead of strlcpy().
+
2015-06-02 Sergio Villar Senin <svillar@igalia.com>
[CSS Grid Layout] Switch from parenthesis to brackets for grid line names
result.append('"');
}
- strlcpy(buffer, result.toString().utf8().data(), length);
+ strncpy(buffer, result.toString().utf8().data(), length);
}
#endif