Changeset 18658 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jan 7, 2007, 9:17:06 PM (18 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r18657 r18658 1 2007-01-07 David Kilzer <[email protected]> 2 3 Reviewed by Darin. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=11917 6 setlocale() can return null 7 8 * kjs/date_object.cpp: 9 (KJS::DateProtoFunc::callAsFunction): Removed dead code. 10 1 11 2007-01-07 David Carson <[email protected]> 2 12 -
trunk/JavaScriptCore/kjs/date_object.cpp
r17636 r18658 452 452 JSValue *result = 0; 453 453 UString s; 454 #if !PLATFORM(DARWIN)455 CString oldlocale = setlocale(LC_TIME, 0);456 if (!oldlocale.size())457 oldlocale = setlocale(LC_ALL, 0);458 // FIXME: Where's the code to set the locale back to oldlocale?459 #endif460 454 JSValue *v = thisDateObj->internalValue(); 461 455 double milli = v->toNumber(exec);
Note:
See TracChangeset
for help on using the changeset viewer.