1 |
786 |
skrzyp |
2007-09-15 Andrew Lunn
|
2 |
|
|
|
3 |
|
|
* tests/strptime.c (test): Extend the test so that it triggers the
|
4 |
|
|
previous bug and shows that the fix works.
|
5 |
|
|
|
6 |
|
|
2007-08-18 Hans Rosenfeld
|
7 |
|
|
|
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.
|
12 |
|
|
|
13 |
|
|
2006-10-02 Jonathan Larmour
|
14 |
|
|
|
15 |
|
|
* tests/strftime.c (test): Fix %I test.
|
16 |
|
|
|
17 |
|
|
2006-08-31 Jonathan Larmour
|
18 |
|
|
|
19 |
|
|
* cdl/time.cdl: Don't bother inlining mktime() or
|
20 |
|
|
gmtime_r() by default - they're too big to be worth it.
|
21 |
|
|
|
22 |
|
|
2006-08-24 Alexander Neundorf
|
23 |
|
|
|
24 |
|
|
* src/strftime.cxx: Fixed "%I" (Time in 12 hour modus was 1 hour off)
|
25 |
|
|
|
26 |
|
|
2006-06-16 Andrew Lunn
|
27 |
|
|
|
28 |
|
|
* tests/strptime.c: Add a testcase for the previous fix.
|
29 |
|
|
|
30 |
|
|
2006-06-13 Dan Jakubiec
|
31 |
|
|
|
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.
|
35 |
|
|
|
36 |
|
|
2005-03-27 Andrew Lunn
|
37 |
|
|
|
38 |
|
|
* include/time.h: Added CYGBLD_ATTRIB_STRFTIME_FORMAT where
|
39 |
|
|
appropriate so the compiler does more checking.
|
40 |
|
|
|
41 |
|
|
2004-08-08 Bart Veer
|
42 |
|
|
|
43 |
|
|
* src/strptime.cxx: fix spelling
|
44 |
|
|
|
45 |
|
|
2003-08-18 Andrew Lunn
|
46 |
|
|
|
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.
|
50 |
|
|
|
51 |
|
|
2003-06-26 Brij Bihari Pandey
|
52 |
|
|
2003-06-26 Jonathan Larmour
|
53 |
|
|
|
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
|
56 |
|
|
would be large.
|
57 |
|
|
|
58 |
|
|
2003-06-13 Jonathan Larmour
|
59 |
|
|
|
60 |
|
|
* tests/clock.c (main): Avoid div-by-zero if mean==0.
|
61 |
|
|
|
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
|
64 |
|
|
exported.
|
65 |
|
|
[Bug 1000001]
|
66 |
|
|
|
67 |
|
|
2003-04-24 Robert Cragie
|
68 |
|
|
|
69 |
|
|
* include/time.inl:
|
70 |
|
|
* include/timeutil.h:
|
71 |
|
|
* src/timeutil.cxx:
|
72 |
|
|
Change return type of cyg_libc_time_itoa() to cyg_ucount8.
|
73 |
|
|
* src/strftime.cxx:
|
74 |
|
|
Change return type of do_format() to cyg_count8.
|
75 |
|
|
These benign changes get around a compiler bug using or32-elf-gcc
|
76 |
|
|
|
77 |
|
|
2003-03-18 Gary Thomas
|
78 |
|
|
|
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.
|
81 |
|
|
|
82 |
|
|
2003-02-24 Jonathan Larmour
|
83 |
|
|
|
84 |
|
|
* cdl/time.cdl: Fix doc link.
|
85 |
|
|
|
86 |
|
|
2003-01-28 Jonathan Larmour
|
87 |
|
|
|
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.
|
91 |
|
|
|
92 |
|
|
2003-01-27 Gary Thomas
|
93 |
|
|
|
94 |
|
|
* tests/strptime.c:
|
95 |
|
|
* src/strptime.cxx:
|
96 |
|
|
* include/time.h:
|
97 |
|
|
* cdl/time.cdl: Add support for strptime().
|
98 |
|
|
|
99 |
|
|
2002-05-14 Jesper Skov
|
100 |
|
|
|
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.
|
104 |
|
|
|
105 |
|
|
2002-01-09 Nick Garnett
|
106 |
|
|
|
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
|
110 |
|
|
this is a failure.
|
111 |
|
|
|
112 |
|
|
2001-06-22 Jesper Skov
|
113 |
|
|
|
114 |
|
|
* cdl/time.cdl (CYGFUN_LIBC_TIME_SUS_EXTNS): Added.
|
115 |
|
|
* src/strftime.cxx (do_format): Added some Single UNIX
|
116 |
|
|
extensions.
|
117 |
|
|
|
118 |
|
|
2001-04-25 Bart Veer
|
119 |
|
|
|
120 |
|
|
* tests/time.c (MAX_TIMEOUT):
|
121 |
|
|
Increase timeout to cope with fast architectures such as the
|
122 |
|
|
synthetic target.
|
123 |
|
|
|
124 |
|
|
2001-04-17 Bart Veer
|
125 |
|
|
|
126 |
|
|
* tests/clock.c:
|
127 |
|
|
Cope with synthetic target reorg
|
128 |
|
|
|
129 |
|
|
2000-11-29 Jonathan Larmour
|
130 |
|
|
|
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.
|
135 |
|
|
|
136 |
|
|
2000-11-27 Jesper Skov
|
137 |
|
|
|
138 |
|
|
* tests/clock.c: Skip fourth sample too.
|
139 |
|
|
|
140 |
|
|
2000-11-14 Jesper Skov
|
141 |
|
|
|
142 |
|
|
* tests/clock.c: Skip first three samples.
|
143 |
|
|
|
144 |
|
|
2000-10-30 Jonathan Larmour
|
145 |
|
|
|
146 |
|
|
* include/time.inl: Ensure POSIX *_r functions can be accessed by
|
147 |
|
|
non-POSIX implementation even when CYGFUN_LIBC_TIME_POSIX is off.
|
148 |
|
|
|
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
|
154 |
|
|
|
155 |
|
|
* cdl/time.cdl: abs() is also a requirement
|
156 |
|
|
|
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.
|
160 |
|
|
|
161 |
|
|
* tests/clock.c: Rewrite
|
162 |
|
|
|
163 |
|
|
2000-07-26 Jonathan Larmour
|
164 |
|
|
|
165 |
|
|
* cdl/time.cdl: Add CYGINT_ISO_DIV dependency
|
166 |
|
|
|
167 |
|
|
2000-07-24 Jonathan Larmour
|
168 |
|
|
|
169 |
|
|
* src/time.cxx:
|
170 |
|
|
* src/settime.cxx:
|
171 |
|
|
Wallclock moved to io/
|
172 |
|
|
|
173 |
|
|
2000-06-20 Jonathan Larmour
|
174 |
|
|
|
175 |
|
|
* include/time.inl (__gmtime_r): Don't save leap year status when
|
176 |
|
|
calculating tm_wday
|
177 |
|
|
|
178 |
|
|
2000-06-17 Jonathan Larmour
|
179 |
|
|
|
180 |
|
|
* include/time.inl (gmtime_r): Deal with boundary case correctly
|
181 |
|
|
|
182 |
|
|
* tests/gmtime.c (test): Add a couple more test cases
|
183 |
|
|
|
184 |
|
|
2000-05-02 Jonathan Larmour
|
185 |
|
|
|
186 |
|
|
* include/time.h: Just use the defaults for time_t, clock_t and
|
187 |
|
|
CLOCKS_PER_SEC in isoinfra
|
188 |
|
|
|
189 |
|
|
* New package
|
190 |
|
|
Separated original libc out into separate packages on functional
|
191 |
|
|
boundaries.
|
192 |
|
|
Header files are now managed by isoinfra package
|
193 |
|
|
Plenty of cleanups done, but no major functionality changes
|
194 |
|
|
|
195 |
|
|
//===========================================================================
|
196 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
197 |
|
|
// -------------------------------------------
|
198 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
199 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006 Free Software Foundation, Inc.
|
200 |
|
|
//
|
201 |
|
|
// This program is free software; you can redistribute it and/or modify
|
202 |
|
|
// it under the terms of the GNU General Public License as published by
|
203 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
204 |
|
|
// later version.
|
205 |
|
|
//
|
206 |
|
|
// This program is distributed in the hope that it will be useful, but
|
207 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
208 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
209 |
|
|
// General Public License for more details.
|
210 |
|
|
//
|
211 |
|
|
// You should have received a copy of the GNU General Public License
|
212 |
|
|
// along with this program; if not, write to the
|
213 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
214 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
215 |
|
|
// -------------------------------------------
|
216 |
|
|
// ####GPLCOPYRIGHTEND####
|
217 |
|
|
//===========================================================================
|