Changeset 50235 in webkit
- Timestamp:
- Oct 28, 2009 2:05:31 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r50233 r50235 1 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 3 Rubberstamped by Oliver Hunt. 4 5 Fix the warning: 6 7 "warning: ignoring return value of 'char* getcwd(char*, size_t)', 8 declared with attribute warn_unused_result". 9 10 by actually checking the result. In the case it is null, an 11 error has occoured, so treat it as the other fatal errors. 12 13 * DumpRenderTree/qt/DumpRenderTree.cpp: 14 (WebCore::DumpRenderTree::initializeFonts): 15 1 16 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> 2 17 -
trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp
r50166 r50235 597 597 } 598 598 char currentPath[PATH_MAX+1]; 599 getcwd(currentPath, PATH_MAX); 599 if (!getcwd(currentPath, PATH_MAX)) 600 qFatal("Couldn't get current working directory"); 600 601 QByteArray configFile = currentPath; 601 602 FcConfig *config = FcConfigCreate();
Note: See TracChangeset
for help on using the changeset viewer.