Author: hhinnant
Date: Sun Apr 10 12:54:14 2011
New Revision: 129251
URL: http://llvm.org/viewvc/llvm-project?rev=129251&view=rev
Log:
time_get was missing the %F specifier. This change impacts the binary.
Modified:
libcxx/trunk/include/locale
Modified: libcxx/trunk/include/locale
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/locale?rev=129251&r1=129250&r2=129251&view=diff
==============================================================================
--- libcxx/trunk/include/locale (original)
+++ libcxx/trunk/include/locale Sun Apr 10 12:54:14 2011
@@ -2346,6 +2346,12 @@
__b = get(__b, __e, __iob, __err, __tm, __fmt, __fmt +
sizeof(__fmt)/sizeof(__fmt[0]));
}
break;
+ case 'F':
+ {
+ const char_type __fmt[] = {'%', 'Y', '-', '%', 'm', '-', '%', 'd'};
+ __b = get(__b, __e, __iob, __err, __tm, __fmt, __fmt +
sizeof(__fmt)/sizeof(__fmt[0]));
+ }
+ break;
case 'H':
__get_hour(__tm->tm_hour, __b, __e, __err, __ct);
break;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits