diff --git a/glibc1091.c b/glibc1091.c index ccc19c7..2ca629b 100644 --- a/glibc1091.c +++ b/glibc1091.c @@ -22,7 +22,42 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include +#if 0 #include +#else +static struct fake_fake_fake { + char * abbrev_wkday[7]; + char * full_wkday[7]; + char * abbrev_month[12]; + char * full_month[12]; + char * ampm[2]; + char * date_time; + char * date; + char * time; +} fake_fake = { + { + "Sun", "Mon", "Tue", "Wed", + "Thu", "Fri", "Sat" + }, + { + "Sunday", "Monday", "Tuesday", "Wednesday", + "Thursday", "Friday", "Saturday" + }, + { + "Jan", "Feb", "Mar", "Apr", "May", "Jun", + "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" + }, + { + "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" + }, + { + "AM", "PM" + }, + "%a %b %d %H:%M:%S %Y", "%m/%d/%y", "%H:%M:%S", +}; +static struct fake_fake_fake * _time_info = &fake_fake; +#endif #include #include #include