1 2007-09-15 Andrew Lunn <andrew.lunn@ascom.ch>
3 * tests/strptime.c (test): Extend the test so that it triggers the
4 previous bug and shows that the fix works.
6 2007-08-18 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
8 * src/strftime.cxx: Moved CYG_PRECONDITIONs to do_format() to
9 make strftime() only complain about illegal struct tm contents if
10 these are actually used. Fixes a bug with tests/strptime which
11 would fail because tm->tm_yday was uninitialized.
13 2006-10-02 Jonathan Larmour <jifl@eCosCentric.com>
15 * tests/strftime.c (test): Fix %I test.
17 2006-08-31 Jonathan Larmour <jifl@eCosCentric.com>
19 * cdl/time.cdl: Don't bother inlining mktime() or
20 gmtime_r() by default - they're too big to be worth it.
22 2006-08-24 Alexander Neundorf <alexander.neundorf@jenoptik.com>
24 * src/strftime.cxx: Fixed "%I" (Time in 12 hour modus was 1 hour off)
26 2006-06-16 Andrew Lunn <andrew.lunn@ascom.ch>
28 * tests/strptime.c: Add a testcase for the previous fix.
30 2006-06-13 Dan Jakubiec <dan.jakubiec@systech.com>
32 * src/strptime.cxx: Removed the initialization of the struct tm fields
33 to prevent clobbering of time values when using the following format
34 specifiers: %D, %r, %R, %T, %X, %x.
36 2005-03-27 Andrew Lunn <andrew.lunn@ascom.ch>
38 * include/time.h: Added CYGBLD_ATTRIB_STRFTIME_FORMAT where
39 appropriate so the compiler does more checking.
41 2004-08-08 Bart Veer <bartv@ecoscentric.com>
43 * src/strptime.cxx: fix spelling
45 2003-08-18 Andrew Lunn <andrew.lunn@ascom.ch>
47 * src/strptime.cxx: Added string.h to fix compile warnings.
48 * cdl/time.cdl: Updated the requires statement for BSD string
49 functions to use the interface rather than the option name.
51 2003-06-26 Brij Bihari Pandey <fuzzhead012@yahoo.com>
52 2003-06-26 Jonathan Larmour <jifl@eCosCentric.com>
54 * tests/clock.c (main): Add a fudge factor in case the absolute values
55 from clock() are small, in which case the percentage variation
58 2003-06-13 Jonathan Larmour <jifl@eCosCentric.com>
60 * tests/clock.c (main): Avoid div-by-zero if mean==0.
62 * cdl/time.cdl: build all POSIX files all the time because they
63 are used internally by the standard ISO C functions even if not
67 2003-04-24 Robert Cragie <rcc@jennic.com>
72 Change return type of cyg_libc_time_itoa() to cyg_ucount8.
74 Change return type of do_format() to cyg_count8.
75 These benign changes get around a compiler bug using or32-elf-gcc
77 2003-03-18 Gary Thomas <gary@mlbassoc.com>
79 * src/strptime.cxx: Initialize time structure to a well known, valid,
80 time/date so even if there is an error, it still makes [some] sense.
82 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
84 * cdl/time.cdl: Fix doc link.
86 2003-01-28 Jonathan Larmour <jifl@eCosCentric.com>
88 * cdl/time.cdl: Correct reference to
89 CYGSEM_LIBC_TIME_POSIX_TIME_ROUTINES in CYGPKG_LIBC_TIME_TESTS to
90 CYGFUN_LIBC_TIME_POSIX.
92 2003-01-27 Gary Thomas <gary@mlbassoc.com>
97 * cdl/time.cdl: Add support for strptime().
99 2002-05-14 Jesper Skov <jskov@redhat.com>
101 * cdl/time.cdl: Added -Wno-format to the compiler flags. This is
102 to avoid warnings about Y2K problems with the format specifiers
103 used in the strftime test.
105 2002-01-09 Nick Garnett <nickg@redhat.com>
107 * tests/clock.c (cyg_start): Added CYG_TEST_INIT() to
108 NOTAPPLICABLE version of cyg_start() so that the breakpoints are
109 correctly sequenced in the testfarm and it does not think that
112 2001-06-22 Jesper Skov <jskov@redhat.com>
114 * cdl/time.cdl (CYGFUN_LIBC_TIME_SUS_EXTNS): Added.
115 * src/strftime.cxx (do_format): Added some Single UNIX
118 2001-04-25 Bart Veer <bartv@redhat.com>
120 * tests/time.c (MAX_TIMEOUT):
121 Increase timeout to cope with fast architectures such as the
124 2001-04-17 Bart Veer <bartv@redhat.com>
127 Cope with synthetic target reorg
129 2000-11-29 Jonathan Larmour <jlarmour@redhat.com>
131 * tests/clock.c: Some targets are quite inconsistent, so skip
132 6 samples now, and increase the tolerance to 40%.
133 Also NA if tracing enabled.
134 Also output the mean and maximum error reached, even when passing.
136 2000-11-27 Jesper Skov <jskov@redhat.com>
138 * tests/clock.c: Skip fourth sample too.
140 2000-11-14 Jesper Skov <jskov@redhat.com>
142 * tests/clock.c: Skip first three samples.
144 2000-10-30 Jonathan Larmour <jlarmour@redhat.com>
146 * include/time.inl: Ensure POSIX *_r functions can be accessed by
147 non-POSIX implementation even when CYGFUN_LIBC_TIME_POSIX is off.
149 * src/asctime_r.cxx: No need to make conditional on posix CDL option -
150 we may want to define an internal-only function.
151 * src/ctime_r.cxx: Ditto
152 * src/gmtime_r.cxx: Ditto
153 * src/localtime_r.cxx: Ditto
155 * cdl/time.cdl: abs() is also a requirement
157 * src/clock.cxx (clock): Always use unsigned long longs for temp
158 variables (and make sure it's used), rather than making
159 assumptions about clock_t.
161 * tests/clock.c: Rewrite
163 2000-07-26 Jonathan Larmour <jlarmour@redhat.co.uk>
165 * cdl/time.cdl: Add CYGINT_ISO_DIV dependency
167 2000-07-24 Jonathan Larmour <jlarmour@redhat.co.uk>
171 Wallclock moved to io/
173 2000-06-20 Jonathan Larmour <jlarmour@redhat.co.uk>
175 * include/time.inl (__gmtime_r): Don't save leap year status when
178 2000-06-17 Jonathan Larmour <jlarmour@redhat.co.uk>
180 * include/time.inl (gmtime_r): Deal with boundary case correctly
182 * tests/gmtime.c (test): Add a couple more test cases
184 2000-05-02 Jonathan Larmour <jlarmour@redhat.co.uk>
186 * include/time.h: Just use the defaults for time_t, clock_t and
187 CLOCKS_PER_SEC in isoinfra
190 Separated original libc out into separate packages on functional
192 Header files are now managed by isoinfra package
193 Plenty of cleanups done, but no major functionality changes
195 //===========================================================================
196 //####ECOSGPLCOPYRIGHTBEGIN####
197 // -------------------------------------------
198 // This file is part of eCos, the Embedded Configurable Operating System.
199 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
200 // Copyright (C) 2006 eCosCentric Ltd.
202 // eCos is free software; you can redistribute it and/or modify it under
203 // the terms of the GNU General Public License as published by the Free
204 // Software Foundation; either version 2 or (at your option) any later version.
206 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
207 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
208 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
211 // You should have received a copy of the GNU General Public License along
212 // with eCos; if not, write to the Free Software Foundation, Inc.,
213 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
215 // As a special exception, if other files instantiate templates or use macros
216 // or inline functions from this file, or you compile this file and link it
217 // with other works to produce a work based on this file, this file does not
218 // by itself cause the resulting work to be covered by the GNU General Public
219 // License. However the source code for this file must still be made available
220 // in accordance with section (3) of the GNU General Public License.
222 // This exception does not invalidate any other reasons why a work based on
223 // this file might be covered by the GNU General Public License.
225 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
226 // at http://sources.redhat.com/ecos/ecos-license/
227 // -------------------------------------------
228 //####ECOSGPLCOPYRIGHTEND####
229 //===========================================================================