Changeset 96253 in webkit
- Timestamp:
- Sep 28, 2011 1:18:35 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r96249 r96253 1 2011-09-28 Joseph Pecoraro <joepeck@webkit.org> 2 3 FTPDirectoryDocument Shows Garbled String for Last Modified Date 4 https://bugs.webkit.org/show_bug.cgi?id=69011 5 6 Reviewed by Dan Bernstein. 7 8 Force WTF::String concatenation instead of an accidental char* pointer addition. 9 10 * html/FTPDirectoryDocument.cpp: 11 (WebCore::processFileDateString): 12 1 13 2011-09-28 Nate Chapin <japhet@chromium.org> 2 14 -
trunk/Source/WebCore/html/FTPDirectoryDocument.cpp
r86542 r96253 254 254 255 255 if (fileTime.tm_year > -1) 256 dateString = months[month] + ' '+ String::number(fileTime.tm_mday) + ", " + String::number(fileTime.tm_year);256 dateString = String(months[month]) + " " + String::number(fileTime.tm_mday) + ", " + String::number(fileTime.tm_year); 257 257 else 258 dateString = months[month] + ' '+ String::number(fileTime.tm_mday) + ", " + String::number(now.tm_year);258 dateString = String(months[month]) + " " + String::number(fileTime.tm_mday) + ", " + String::number(now.tm_year); 259 259 260 260 return dateString + timeOfDay;
Note: See TracChangeset
for help on using the changeset viewer.