Mercurial > nand-ecoscentric
annotate packages/language/c/libc/current/ChangeLog @ 16:4f2df4ab82c8 ecos-sw-1999-06-18
Merge from eCos master repository on 1999-06-18-15:25:04-BST
| author | jlarmour |
|---|---|
| date | Fri, 18 Jun 1999 07:59:09 +0000 |
| parents | d3fbcdfa1b2f |
| children | 4741a3c3496a |
| rev | line source |
|---|---|
|
16
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
10
diff
changeset
|
1 1999-06-11 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
10
diff
changeset
|
2 |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
10
diff
changeset
|
3 * include/stdio.h: Make FILEs array types so they won't be |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
10
diff
changeset
|
4 given $gp relocations on MIPS targets |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
10
diff
changeset
|
5 |
|
10
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
6 1999-05-27 Jesper Skov <jskov@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
7 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
8 * tests/time/ctime.c: Fixed compiler warning. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
9 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
10 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
11 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
12 * tests/signal/signal2.c (main): |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
13 Update CYGPKG_HAL_TX39 -> CYGPKG_HAL_MIPS_TX39 due to recent MIPS |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
14 HAL changes |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
15 Fix for PR 20116 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
4
diff
changeset
|
16 |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
17 1999-04-30 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
18 PR 19945/19946 workaround |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
19 * tests/signal/signal2.c: Disabled test 3 for PowerPC sim. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
20 |
| 2 | 21 1999-04-19 Jonathan Larmour <jlarmour@cygnus.co.uk> |
| 22 | |
| 23 * include/time.inl: | |
| 24 Ensure all calls to cyg_libc_time_year_is_leap() are with the full | |
| 25 year, and not the direct contents of a struct tm, which are (year-1900) | |
| 26 | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
27 1999-04-19 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
28 PR 19308, 19410, 19528 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
29 * tests/time/clock.c (test): Also disable data cache which may |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
30 affect timing when tracing/assertions are enabled. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
31 |
| 2 | 32 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk> |
| 33 | |
| 34 * src/clibincl/stdiosupp.hxx: | |
| 35 Add prototype for new cyg_libc_stdio_flush_all_but() function | |
| 36 | |
| 37 * src/clibincl/stream.hxx: | |
| 38 Don't include stdiosupp.hxx any more to prevent circular dependency, | |
| 39 therefore manually provide _setvbuf prototype | |
| 40 Make sure pkgconf/kernel.h is included before mutex.hxx | |
| 41 | |
| 42 * src/clibincl/stream.inl (Cyg_StdioStream::set_error()): | |
| 43 Add missing unlock_me() | |
| 44 | |
| 45 * src/stdio/common/fflush.cxx: | |
| 46 Separate most of code for fflush(NULL) into separate | |
| 47 cyg_libc_stdio_flush_all_but() function, which has the extra | |
| 48 capability of omitting one stream | |
| 49 | |
| 50 * src/stdio/common/stderr.cxx: | |
| 51 * src/stdio/common/stdin.cxx: | |
| 52 * src/stdio/common/stdout.cxx: | |
| 53 * src/stdio/common/vsnprintf.cxx: | |
| 54 * src/stdio/common/vsscanf.cxx: | |
| 55 Add missing clibincl/stdiosupp.hxx include | |
| 56 | |
| 57 * src/stdio/common/stream.cxx (Cyg_StdioStream::read()): | |
| 58 When reading, ensure we flush all output streams | |
| 59 | |
| 60 * src/stdio/common/stream.cxx (Cyg_StdioStream::flush_output_unlocked): | |
| 61 Flush the device as well | |
| 62 | |
| 63 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 64 | |
| 65 * src/stdio/common/streambuf.cxx (set_buffer): | |
| 66 * src/stdio/common/stdioinlines.cxx (_setbuf): | |
| 67 * src/clibincl/streambuf.inl: | |
| 68 * src/clibincl/streambuf.hxx: | |
| 69 * src/clibincl/stream.hxx (class Cyg_StdioStream): | |
| 70 * include/pkgconf/libc.h: | |
| 71 * include/stdio.inl (setbuf): | |
| 72 Fix dumb typo: BUFSIZE -> BUFSIZ | |
| 73 This fixes PR19837 | |
| 74 | |
| 75 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 76 | |
| 77 * src/stdio/common/stdioinlines.cxx (_setbuf): | |
| 78 * include/stdio.inl (setbuf): | |
| 79 Use _IONBF when buf==NULL, and _IOLBF otherwise. | |
| 80 Fix for PR 19836 | |
| 81 | |
| 82 1999-04-15 John Dallaway <jld@cygnus.co.uk> | |
| 83 | |
| 84 * include/pkgconf/libc.h: Tidy display string capitalization. | |
| 85 | |
| 86 1999-04-12 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 87 | |
| 88 * include/pkgconf/libc.h: | |
| 89 Clarify CDL description of CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE | |
| 90 | |
| 91 * tests/signal/signal2.c: Try harder to generate an exception by | |
| 92 accessing a misaligned address | |
| 93 Don't handle SIGTRAP any more | |
| 94 Part of fix for PRs 19731/19607 | |
| 95 | |
| 96 1999-04-07 Jesper Skov <jskov@cygnus.co.uk> | |
| 97 PR 19667 | |
| 98 * src/support/mainthread.cxx: | |
| 99 Changed to use the new Cyg_Thread constructor. | |
| 100 | |
| 101 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk> | |
| 102 | |
| 103 * tests/signal/signal2.c (main): Use new macro | |
| 104 HAL_VSR_SET_TO_ECOS_HANDLER if defined, to wrest control from | |
| 105 CygMon, for example, by reinstalling eCos' default VSRs for | |
| 106 exceptions that we are provoking. | |
| 107 | |
| 108 1999-03-29 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 109 | |
| 110 * src/signal/siginit.cxx: Include stdlib.h for exit() | |
| 111 Fix for PR 19720 | |
| 112 | |
| 113 1999-03-29 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 114 | |
| 115 * tests/time/clock.c (test): Disable instruction cache | |
| 116 Hopefully fixes PR 19308 | |
| 117 | |
| 118 1999-03-29 Jesper Skov <jskov@cygnus.co.uk> | |
| 119 | |
| 120 * tests/signal/signal2.c: Disabled test 3 for PPC as it cannot | |
| 121 trap division by zero. | |
| 122 | |
| 123 1999-03-26 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 124 | |
| 125 * src/support/main.cxx (main): Invoke cyg_user_start() if no kernel | |
| 126 Only sensible thing to do in our default main in a non-kernel config | |
| 127 | |
| 128 1999-03-25 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 129 | |
| 130 * tests/time/time.c: | |
| 131 Increase MAX_TIMEOUT since the sparclite gets very close to overrunning | |
| 132 it even when working. | |
| 133 Should return -1 iff CYGSEM_LIBC_TIME_TIME_WORKING isn't defined | |
| 134 Cosmetic changes | |
| 135 | |
| 136 1999-03-25 Hugo Tyson <hmt@cygnus.co.uk> | |
| 137 | |
| 138 * tests/time/time.c (test): Take into account setting of | |
| 139 CYGSEM_LIBC_TIME_SETTIME_WORKING ie. does cyg_libc_time_settime() | |
| 140 work? If not, check that it returns an error. | |
| 141 This was exposed by the random combo in PR#19479. | |
| 142 | |
| 143 1999-03-23 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 144 | |
| 145 * include/pkgconf/libc.h: | |
| 146 Rename CYGSEM_LIBC_RAND_SIMPLEST and CYGSEM_LIBC_RAND_KNUTH1 to | |
| 147 CYGIMP_... | |
| 148 | |
| 149 Add another rand implementation CYGIMP_LIBC_RAND_SIMPLE1 which is | |
| 150 the default | |
| 151 | |
| 152 Part of fix for PR 19562 | |
| 153 | |
| 154 * include/sys/cstartup.h: | |
| 155 Tidy and remove unnecessary dependencies | |
| 156 | |
| 157 * src/stdlib/rand.cxx: | |
| 158 Rename algorithms from CYGSEM_... to CYGIMP_... | |
| 159 Add new "simple1" algorithm | |
| 160 | |
| 161 * tests/ctype/ctype.c: | |
| 162 Tidy | |
| 163 | |
| 164 * tests/stdlib/rand3.c: | |
| 165 Fix so that 0..RAND_MAX is split evenly over buckets, which it wasn't | |
| 166 before | |
| 167 Deal with case of RAND_MAX not being divisible by NUM_BUCKETS | |
| 168 exactly | |
| 169 Increase TEST_LENGTH to 200000 to provide more representative sample | |
| 170 Add CYG_TEST_INFO output to help ensure it doesn't time out | |
| 171 Tidy | |
| 172 | |
| 173 * tests/stdlib/rand4.c: | |
| 174 Only fail if more than _two_ thirds (rather than one third) match. | |
| 175 This is because half would match for a perfectly random distribution | |
| 176 This is the rest of the fix for PR 19562 | |
| 177 Cosmetic changes | |
| 178 | |
| 179 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 180 | |
| 181 * src/support/mainthread.cxx (CYGNUM_LIBC_MAIN_STACK_SIZE): | |
| 182 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of | |
| 183 CYGNUM_HAL_MINIMUM_STACK_SIZE. | |
| 184 | |
| 185 1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 186 | |
| 187 * tests/PKGconf.mak: Add -Wno-format when building strftime otherwise | |
| 188 it generates warnings for things that we do want to test (null | |
| 189 string, and %y format) | |
| 190 | |
| 191 1999-03-19 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 192 | |
| 193 * include/pkgconf/libc.h (CYGNUM_LIBC_TIME_DST_DEFAULT_STATE): | |
| 194 Put brackets back round negative number since sdf says the config | |
| 195 tool is fixed now (PR 19537) | |
| 196 | |
| 197 Add new CYGSEM_LIBC_RAND_SIMPLEST and CYGSEM_LIBC_RAND_KNUTH1 | |
| 198 options for different rand() algorithms in a so far failed attempt | |
| 199 to fix PR 19562 | |
| 200 | |
| 201 * src/stdlib/rand.cxx: | |
| 202 Add new optional algorithm from Knuth vol.2 | |
| 203 | |
| 204 * tests/stdlib/rand4.c: | |
| 205 Some tidies | |
| 206 Don't run test when using simplest algorithm | |
| 207 | |
| 208 * tests/signal/signal2.c (main): | |
| 209 Don't try to make an FPE on tx39 - its possible to detect but requires | |
| 210 too much HAL work to be sensible | |
| 211 | |
| 212 1999-03-18 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 213 | |
| 214 * src/signal/siginit.cxx (cyg_libc_signals_hwexcept_handler): | |
| 215 Use HAL_ENABLE_INTERRUPTS() rather than kernel to enable interrupts | |
| 216 | |
| 217 1999-03-18 Mark Galassi <rosalia@cygnus.com> | |
| 218 | |
| 219 * tests/PKGconf.mak (TESTS): added rand4 compilation. | |
| 220 | |
| 221 * tests/stdlib/rand4.c: added this test for periodicity in the | |
| 222 least significant bit of rand(). | |
| 223 | |
| 224 1999-03-18 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 225 | |
| 226 * include/pkgconf/libc.h: Remove CYGFUN_LIBC_TIME_POSIX dependency | |
| 227 on CYGPKG_LIBC_STDIO | |
| 228 | |
| 229 * src/stdlib/itoa.cxx: | |
| 230 New file to convert integers to ascii | |
| 231 | |
| 232 * include/stdlib.h: | |
| 233 Add proto for new cyg_libc_itoa() function | |
| 234 | |
| 235 * include/time.inl: | |
| 236 Rework __asctime_r() to use memcpy() and cyg_libc_itoa() rather than | |
| 237 sprintf() | |
| 238 | |
| 239 * src/PKGconf.mak: | |
| 240 Build stdlib/itoa.cxx | |
| 241 | |
| 242 The above changes fix PR 19448 | |
| 243 | |
| 244 1999-03-17 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 245 | |
| 246 * include/time.h: Add #define of __time_t_defined to placate newlib | |
| 247 if it is used by accident. This is just a temporary workaround though. | |
| 248 | |
| 249 1999-03-16 Gary Thomas <gthomas@cygnus.co.uk> | |
| 250 | |
| 251 * src/PKGconf.mak: Add compile option to step around ARM compiler bug. | |
| 252 | |
| 253 1999-03-16 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 254 | |
| 255 * include/pkgconf/libc.h (CYGNUM_LIBC_TIME_DST_DEFAULT_STATE): | |
| 256 Don't use parentheses for now | |
| 257 | |
| 258 * src/stdio/common/stream.cxx (refill_read_buffer): | |
| 259 Silence bogus compiler warning | |
| 260 | |
| 261 1999-03-16 Jesper Skov <jskov@cygnus.co.uk> | |
| 262 | |
| 263 * tests/signal/signal2.c (main): Enable SIGSEGV test for | |
| 264 i386/Linux. | |
| 265 | |
| 266 | |
| 267 1999-03-15 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 268 | |
| 269 * src/signal/siginit.cxx (cyg_libc_signals_hwexcept_handler): | |
| 270 Only enable interrupts if they were disabled | |
| 271 | |
| 272 * include/sys/timeutil.h: | |
| 273 * src/time/timeutil.cxx: | |
| 274 Add FIX ME line as a reminder that the workaround there can go away | |
| 275 in future | |
| 276 | |
| 277 * include/pkgconf/libc.h: | |
| 278 Add proper define for CYGSEM_LIBC_EXIT_CALLS_FFLUSH | |
| 279 Put brackets round negative CYGNUM_LIBC_TIME_DST_DEFAULT_STATE define | |
| 280 Fix run time typo | |
| 281 | |
| 282 * include/time.inl (__localtime_r): | |
| 283 Include sys/timeutil.h before this to get | |
| 284 cyg_libc_time_normalize_structtm() | |
| 285 | |
| 286 1999-03-12 Gary Thomas <gthomas@cygnus.co.uk> | |
| 287 | |
| 288 * include/sys/timeutil.h: | |
| 289 * src/time/timeutil.cxx: Remove 'const' from char arrays since | |
| 290 this fails [silently] on ARM when -fwritable-strings (PR19440) | |
| 291 | |
| 292 1999-03-12 Jesper Skov <jskov@cygnus.co.uk> | |
| 293 | |
| 294 * tests/signal/signal2.c (main): Compiler warnings fix was | |
| 295 slightly broken. | |
| 296 | |
| 297 1999-03-12 Jesper Skov <jskov@cygnus.co.uk> | |
| 298 PR 19473 | |
| 299 * tests/signal/signal2.c (main): | |
| 300 Disabling SIGTRAP handling on i386/Linux is not a good idea. | |
| 301 1999-03-11 Jesper Skov <jskov@cygnus.co.uk> | |
| 302 PR 19473 | |
| 303 * tests/signal/signal2.c: | |
| 304 Added compiler warnings fix. | |
| 305 Added N/A handling for i386/Linux. | |
| 306 | |
| 307 1999-03-10 Gary Thomas <gthomas@cygnus.co.uk> | |
| 308 | |
| 309 * include/pkgconf/libc.h: Force "haldiag" device to be present. | |
| 310 'asctime' and friends need 'stdio' as well. | |
| 311 | |
| 312 * include/time.inl: Fix syntax error on difftime() declaration. | |
| 313 | |
| 314 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk> | |
| 315 | |
| 316 * src/clibincl/stream.hxx: <cyg/infra/cyg_ass.h> needed for this file. | |
| 317 | |
| 318 * src/stdio/common/vsscanf.cxx (str_read): Fix problem with string | |
| 319 pointer [created by merge with new I/O package]. | |
| 320 | |
| 321 1999-03-05 John Dallaway <jld@cygnus.co.uk> | |
| 322 | |
| 323 * include/pkgconf/libc.h: | |
| 324 Add legal values for CYGNUM_LIBC_TIME_STD_DEFAULT_OFFSET | |
| 325 and CYGNUM_LIBC_TIME_DST_DEFAULT_OFFSET. | |
| 326 | |
| 327 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 328 | |
| 329 * include/time.inl (cyg_libc_time_year_is_leap): | |
| 330 Fix bug with modulo year 400 | |
| 331 Fix typo in asctime_r macro | |
| 332 Fix gmtime_r, and mktime as a result of testing | |
| 333 | |
| 334 * tests/time/asctime.c, tests/time/ctime.c, tests/time/gmtime.c, | |
| 335 tests/time/gmtime.c, tests/time/localtime.c, tests/time/mktime.c, | |
| 336 tests/time/strftime.c, tests/time/time.c: | |
| 337 New tests | |
| 338 | |
| 339 * tests/PKGconf.mak: | |
| 340 Build above new tests | |
| 341 | |
| 342 * include/pkgconf/libc.h: | |
| 343 Add reminder FIX ME about extra config option | |
| 344 | |
| 345 * src/time/strftime.cxx: | |
| 346 Fix %w and %Y parameters as a result of testing | |
| 347 | |
| 348 * src/time/timeutil.cxx: | |
| 349 Fix cyg_libc_time_normalize_structtm() as a result of testing | |
| 350 of mktime() | |
| 351 | |
| 352 * tests/time/clock.c: | |
| 353 Reformat, remove obsolete bits and tidy | |
| 354 | |
| 355 * include/time.h: | |
| 356 Add Cyg_libc_time_dst type and new functions | |
| 357 cyg_libc_time_setzoneoffsets(), cyg_libc_time_setdst(), | |
| 358 cyg_libc_time_getzoneoffsets(), cyg_libc_time_settime() | |
| 359 | |
| 360 * include/time.inl: | |
| 361 Implement the above functions. This allows us to adjust for timezone | |
| 362 diffences and set the time. | |
| 363 Change localtime() to adjust for STD/DST | |
| 364 Change mktime() to adjust for STD/DST | |
| 365 | |
| 366 * include/libc.h: | |
| 367 Add new config options CYGSEM_LIBC_TIME_SETTIME_WORKING | |
| 368 and component CYGPKG_LIBC_TIME_ZONES containing options | |
| 369 CYGNUM_LIBC_TIME_DST_DEFAULT_STATE, | |
| 370 CYGNUM_LIBC_TIME_STD_DEFAULT_OFFSET, | |
| 371 CYGNUM_LIBC_TIME_DST_DEFAULT_OFFSET | |
| 372 | |
| 373 * src/strftime.cxx: | |
| 374 Adjust handling of %Z to _not_ deal with STD/DST | |
| 375 | |
| 376 * src/time/settime.cxx: | |
| 377 New file to implement cyg_libc_time_settime() | |
| 378 | |
| 379 * src/PKGconf.mak: | |
| 380 Build settime.cxx | |
| 381 | |
| 382 * src/time/timeutil.cxx: | |
| 383 Supply outline versions of cyg_libc_time_setzoneoffsets(), | |
| 384 cyg_libc_time_setdst(), and cyg_libc_time_getzoneoffsets() | |
| 385 Add variables for STD/DST state | |
| 386 Some minor comment changes | |
| 387 | |
| 388 * include/errno.h: | |
| 389 Use CYGBLD_ATTRIB_CONST instead of __attribute__((const)) directly | |
| 390 | |
| 391 * include/signal.h: | |
| 392 Change format of function comment headers | |
| 393 | |
| 394 * include/signal.inl: | |
| 395 Restrict errno.h inclusion to when its actually used | |
| 396 Fix a spelling typo | |
| 397 | |
| 398 * include/stdlib.h: | |
| 399 Add CYGBLD_ATTRIB_CONST to abs, div, labs, ldiv | |
| 400 | |
| 401 * include/stdlib.inl: | |
| 402 Reformat and tidy | |
| 403 Include new versions of div and ldiv which are more portable and | |
| 404 are cleanly rewritten so aren't covered by the BSD licence, which | |
| 405 is now removed | |
| 406 | |
| 407 * src/stdlib/div.cxx, src/stdlib/ldiv.cxx: | |
| 408 Non-inline, non-BSD and portable versions of the new versions of div | |
| 409 and ldiv from stdlib.inl | |
| 410 | |
| 411 * include/time.h: | |
| 412 Much reformatting, tidying and improving comments | |
| 413 Change CLOCKS_PER_SEC from 1000 to 1000000 | |
| 414 Add new functions asctime_r, ctime_r, gmtime_r, localtime_r, clock, | |
| 415 difftime, mktime, time, asctime, ctime, gmtime, localtime, strftime | |
| 416 Include new time.inl file | |
| 417 | |
| 418 * include/pkgconf/libc.h: | |
| 419 Add new options CYGSEM_LIBC_TIME_CLOCK_WORKING, | |
| 420 CYGSEM_LIBC_TIME_TIME_WORKING, CYGFUN_LIBC_TIME_POSIX, | |
| 421 CYGNUM_LIBC_TIME_CLOCK_TRACE_LEVEL, CYGIMP_LIBC_TIME_ASCTIME_INLINE, | |
| 422 CYGIMP_LIBC_TIME_CTIME_INLINE, CYGIMP_LIBC_TIME_DIFFTIME_INLINE, | |
| 423 CYGIMP_LIBC_TIME_GMTIME_INLINE, CYGIMP_LIBC_TIME_LOCALTIME_INLINE, | |
| 424 CYGIMP_LIBC_TIME_MKTIME_INLINE, CYGIMP_LIBC_TIME_ASCTIME_R_INLINE, | |
| 425 CYGIMP_LIBC_TIME_CTIME_R_INLINE, CYGIMP_LIBC_TIME_GMTIME_R_INLINE, | |
| 426 and CYGIMP_LIBC_TIME_LOCALTIME_R_INLINE | |
| 427 | |
| 428 * time/asctime.cxx, time/asctime_r.cxx, time/clock.cxx, time/ctime.cxx, | |
| 429 time/ctime_r.cxx, time/difftime.cxx, time/gmtime.cxx, | |
| 430 time/gmtime_r.cxx, time/localtime.cxx, time/localtime_r.cxx, | |
| 431 time/mktime.cxx, time/strftime.cxx, time/time.cxx, time/timeutil.cxx, | |
| 432 include/time.inl: | |
| 433 New files to implement the new time functions. Many of them simply | |
| 434 provide the outline definitions, but the real body of the function | |
| 435 comes from time.inl | |
| 436 | |
| 437 * src/PKGconf.mak: | |
| 438 Build new .cxx files | |
| 439 | |
| 440 * src/clibincl/stdlibsupp.hxx: | |
| 441 Remove _div and _ldiv prototypes since they're no longer needed | |
| 442 | |
| 443 * src/clibincl/timesupp.hxx: | |
| 444 Delete as its now obsolete | |
| 445 | |
| 446 * src/time/clock.cxx: | |
| 447 Use new CYGSEM_LIBC_TIME_CLOCK_WORKING option to control whether it | |
| 448 just returns (clock_t)-1 or not. | |
| 449 Much reformatting and tidying | |
| 450 Change real imlpementation from _clock to __clock | |
| 451 Use CYGBLD_ATTRIB_WEAK_ALIAS now | |
| 452 | |
| 453 * tests/stdlib/div.c, tests/stdlib/ldiv.c: | |
| 454 Add some extra tests for handling of negative numbers | |
| 455 Reformat and tidy a bit, including removing the test for CYGPKG_LIBC | |
| 456 since its now always defined if the test is to be compiled | |
| 457 | |
| 458 * tests/time/clock.c: | |
| 459 Remove duplication CYG_TEST_INFO line | |
| 460 Check if unimplemented using "(clock_t)-1" and not just "-1" | |
| 461 | |
| 462 1999-03-04 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 463 | |
| 464 * src/stdlib/system.cxx: | |
| 465 Make sure system() is a weak alias for __system() | |
| 466 | |
| 467 * include/pkgconf/libc.h: Rework CDL description for | |
| 468 CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE and change its default to | |
| 469 "/dev/haldiag" | |
| 470 | |
| 471 * src/stdio/common/stream.cxx: | |
| 472 Check that dev is valid when passed to stream constructor | |
| 473 | |
| 474 * src/stdio/common/stdiosupp.cxx: | |
| 475 Tidy | |
| 476 | |
| 477 * src/support/mainthread.cxx: Make this depend on | |
| 478 CYGSEM_LIBC_STARTUP_MAIN_THREAD rather than just CYGPKG_KERNEL | |
| 479 | |
| 480 1999-03-04 Gary Thomas <gthomas@cygnus.co.uk> | |
| 481 | |
| 482 Merged in changes from 'ecos-new_devs-19990216-branch' | |
| 483 | |
| 484 (1999-02-24 Jonathan Larmour <jlarmour@cygnus.co.uk>) | |
| 485 | |
| 486 * src/stdio/common/stream.cxx: | |
| 487 Add "fix me" comments and remove a couple of commented out lines | |
| 488 | |
| 489 * src/stdio/common/vsnprintf.cxx: | |
| 490 * src/stdio/common/vsscanf.cxx: | |
| 491 Revert to using pointer to string for private data, not just string. | |
| 492 This preserves the state across multiple calls | |
| 493 | |
| 494 (1999-02-24 Gary Thomas <gthomas@cygnus.co.uk>) | |
| 495 | |
| 496 * src/stdio/common/vsscanf.cxx: | |
| 497 * src/stdio/common/vsnprintf.cxx: | |
| 498 * src/stdio/common/stream.cxx: | |
| 499 * src/stdio/common/stdiosupp.cxx: | |
| 500 * src/stdio/common/fopen.cxx: | |
| 501 * src/clibincl/stream.inl: | |
| 502 * src/clibincl/stream.hxx: | |
| 503 * src/clibincl/stdiosupp.hxx: | |
| 504 * include/pkgconf/libc.h: Changes for new I/O system. | |
| 505 | |
| 506 1999-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 507 | |
| 508 * tests/stdlib/atexit.c: Forgot to config atexit test for | |
| 509 CYGFUN_LIBC_ATEXIT option | |
| 510 | |
| 511 * include/pkgconf/libc.h: | |
| 512 Require CYGVAR_KERNEL_THREADS_DATA for CYGSEM_LIBC_PER_THREAD_STRTOK | |
| 513 This fixes PR 19362 | |
| 514 Require CYGPKG_KERNEL for thread safe streams | |
| 515 Also don't need "requires CYGPKG_KERNEL" for per-thread rand and errno | |
| 516 if we already require a finer granularity kernel option | |
| 517 | |
| 518 1999-02-25 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 519 | |
| 520 * include/pkgconf/libc.h: Fix CYGNUM_LIBC_MAIN_STACK_SIZE by changing | |
| 521 CYGPKG_LIBC_STARTUP_MAIN_THREAD -> CYGSEM_LIBC_STARTUP_MAIN_THREAD | |
| 522 Fix for PR 19304 | |
| 523 | |
| 524 1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 525 | |
| 526 * src/stdlib/system.cxx: Add to implement trivial system() call | |
| 527 * include/stdlib.h: Add system() prototype | |
| 528 * src/PKGconf.mak: Build system.cxx | |
| 529 | |
| 530 * tests/ctype/ctype.c, tests/i18n/setlocale.c, tests/setjmp/setjmp.c, | |
| 531 tests/signal/signal1.c, tests/signal/signal2.c, | |
| 532 tests/stdio/sprintf1.c, tests/stdio/sprintf2.c, tests/stdio/sscanf.c, | |
| 533 tests/stdio/stdiooutput.c, tests/stdlib/atexit.c, | |
| 534 tests/stdlib/atoi.c, tests/stdlib/atol.c, tests/stdlib/bsearch.c, | |
| 535 tests/stdlib/div.c, tests/stdlib/getenv.c, tests/stdlib/labs.c, | |
| 536 tests/stdlib/ldiv.c, tests/stdlib/malloc1.c, tests/stdlib/malloc2.c, | |
| 537 tests/stdlib/malloc3.c, tests/stdlib/qsort.c, tests/stdlib/rand1.c, | |
| 538 tests/stdlib/rand2.c, tests/stdlib/rand3.c, tests/stdlib/realloc.c, | |
| 539 tests/stdlib/srand.c, tests/stdlib/strtol.c, tests/stdlib/strtoul.c, | |
| 540 tests/string/memchr.c, tests/string/memcmp1.c, | |
| 541 tests/string/memcmp2.c, tests/string/memcpy1.c, | |
| 542 tests/string/memcpy2.c, tests/string/memmove1.c, | |
| 543 tests/string/memmove2.c, tests/string/memset.c, | |
| 544 tests/string/strcat1.c, tests/string/strcat2.c, | |
| 545 tests/string/strchr.c, tests/string/strcmp1.c, | |
| 546 tests/string/strcmp2.c, tests/string/strcoll1.c, | |
| 547 tests/string/strcpy1.c, tests/string/strcpy2.c, | |
| 548 tests/string/strcspn.c, tests/string/strlen.c, | |
| 549 tests/string/strncat1.c, tests/string/strncat2.c, | |
| 550 tests/string/strncpy1.c, tests/string/strncpy2.c, | |
| 551 tests/string/strpbrk.c, tests/string/strrchr.c, | |
| 552 tests/string/strspn.c, tests/string/strstr.c, tests/string/strtok.c, | |
| 553 tests/string/strxfrm1.c, tests/string/strxfrm2.c, tests/time/clock.c: | |
| 554 Use CYG_TEST_NA() macro for non-applicable test configurations | |
| 555 | |
| 556 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 557 | |
| 558 * include/signal.h: | |
| 559 * include/signal.inl: | |
| 560 * src/signal/raise.cxx: | |
| 561 * src/signal/siginit.cxx: | |
| 562 * src/signal/signal.cxx: | |
| 563 * tests/signal/signal1.c | |
| 564 * tests/signal/signal2.c: | |
| 565 New files to implement ISO standard signals | |
| 566 | |
| 567 * src/PKGconf.mak (TESTS): | |
| 568 * tests/PKGconf.mak (TESTS): | |
| 569 Update to build new files above | |
| 570 | |
| 571 * include/stdlib.h: | |
| 572 * src/clibincl/stdlibsupp.hxx: | |
| 573 Comment and QA changes (including giving better names to some types) | |
| 574 | |
| 575 * include/libc.h: | |
| 576 Add new configuration options for signals | |
| 577 Add new CYGSEM_LIBC_STARTUP_MAIN_THREAD option | |
| 578 Add a note to CYGNUM_LIBC_MAIN_STACK_SIZE option that it may be | |
| 579 overriden by HAL | |
| 580 Add new CYGFUN_LIBC_ATEXIT option and move ...ATEXIT_HANDLERS under | |
| 581 it | |
| 582 Add new CYGSEM_LIBC_EXIT_CALLS_FFLUSH option | |
| 583 Require CYGSEM_LIBC_STARTUP_MAIN_THREAD for "Invoke default static | |
| 584 constructors" option | |
| 585 | |
| 586 * src/stdlib/atexit.cxx: | |
| 587 Support above CYGFUN_LIBC_ATEXIT and QA changes | |
| 588 | |
| 589 * src/stdlib/exit.cxx: | |
| 590 Support for above new libc.h options, and some QA changes | |
| 591 | |
| 592 * src/support/cstartup.cxx: | |
| 593 Add support for new CYGSEM_LIBC_STARTUP_MAIN_THREAD option | |
| 594 | |
| 595 * src/support/mainthread.cxx: | |
| 596 Override main stack size if the HAL has a minimum | |
| 597 | |
| 598 * src/string/strncpy.cxx: | |
| 599 Use improved algorithm for aligned copies - imported from newlib | |
| 600 QA changes | |
| 601 | |
| 602 * src/stdlib/abort.cxx: | |
| 603 Support raise(SIGABRT), and some QA | |
| 604 | |
| 605 * include/errno.h: | |
| 606 Add const attribute | |
| 607 | |
| 608 * tests/stdlib/abs.c: | |
| 609 QA improvements | |
| 610 | |
| 611 1999-02-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 612 | |
| 613 * src/support/cstartup.cxx: Only define cyg_libc_main_thread when | |
| 614 the kernel is around. | |
| 615 | |
| 616 1999-02-01 Jesper Skov <jskov@cygnus.co.uk> | |
| 617 | |
| 618 * tests/time/clock.c: Joined the two test/NOP checks into | |
| 619 one. | |
| 620 Increased tolerance in attempt to fix PRs 18737,18787,18846. | |
| 621 Fixed typo. | |
| 622 | |
| 623 1999-01-28 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 624 | |
| 625 * src/string/strtok.cxx: | |
| 626 * src/stdlib/rand.cxx: | |
| 627 Include <pkgconf/kernel.h> if we use kernel header files | |
| 628 | |
| 629 1999-01-25 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 630 | |
| 631 * tests/stdio/sscanf.c (test): | |
| 632 CYGSEM_LIBC_STDIO_PRINTF_FLOATING_POINT should be | |
| 633 CYGSEM_LIBC_STDIO_SCANF_FLOATING_POINT | |
| 634 Fix for PR 18786 | |
| 635 | |
| 636 * src/string/strtok.cxx: | |
| 637 * src/stdio/common/stdiofiles.cxx: | |
| 638 * src/errno/errno.cxx: | |
| 639 * src/stdlib/rand.cxx: | |
| 640 Give mutex protection objects a libc constructor priority | |
| 641 | |
| 642 * src/support/invokemain.cxx: | |
| 643 Add prototype for cyg_hal_invoke_constructors() | |
| 644 | |
| 645 * src/support/mainthread.cxx: | |
| 646 Give cyg_libc_dummy_constructor_obj a libc constructor priority, | |
| 647 and make its class have a public constructor | |
| 648 | |
| 649 * src/stdio/common/stderr.cxx: | |
| 650 * src/stdio/common/stdout.cxx: | |
| 651 * src/stdio/common/stdin.cxx: | |
| 652 Give cyg_libc_stdio_stdin/out/err static objects a libc constructor | |
| 653 priority | |
| 654 | |
| 655 * src/clibincl/streambuf.hxx (class Cyg_StdioStreamBuffer): | |
| 656 * src/clibincl/stream.hxx (class Cyg_StdioStream): | |
| 657 Remove private copy constructor. Needed to make prioritised | |
| 658 static constructors work. Fix for PR 18898 | |
| 659 | |
| 660 1999-01-22 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 661 | |
| 662 * src/errno/errno.cxx: | |
| 663 Include pkgconf/kernel.h otherwise it fails with per-thread errno | |
| 664 enabled | |
| 665 | |
| 666 * include/pkgconf/libc.h: | |
| 667 Enable per-thread errno by default since that is what POSIX would | |
| 668 want | |
| 669 | |
| 670 * tests/time/clock.c (test): | |
| 671 Placate compiler by initializing clock_first/second/third anyway, | |
| 672 even though they won't be in practice. This is only a test program | |
| 673 so adding an extra instruction doesn't matter. | |
| 674 | |
| 675 * src/i18n/locale.cxx (_setlocale): | |
| 676 Placate compiler, since it is dumb, by nesting, not serializing, if's | |
| 677 This is an idempotent change, but screws up the formatting :-(. | |
| 678 | |
| 679 * src/string/strpbrk.cxx (_strpbrk): | |
| 680 Change while loop to do loop to placate compiler. It'll even save an | |
| 681 instruction too (wow!) | |
| 682 | |
| 683 1999-01-22 John Dallaway <jld@cygnus.co.uk> | |
| 684 | |
| 685 * include/pkgconf/libc.h: | |
| 686 Add closing curly brace to CYGPKG_LIBC_STRING_STRTOK definition | |
| 687 | |
| 688 1999-01-21 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 689 | |
| 690 * include/errno.h: | |
| 691 Tidy up and add to header description | |
| 692 Change cyg_get_errno_p() to cyg_libc_get_errno_p() | |
| 693 Remove ifdef CYGPKG_LIBC | |
| 694 | |
| 695 * include/sys/file_if.h: | |
| 696 Remove - move contents to stdio.h | |
| 697 | |
| 698 * include/stdio.h: | |
| 699 Tidy up header description | |
| 700 Move FILE typedef here from sys/file_if.h | |
| 701 SEEK_SET, SEEK_CUR, SEEK_END defined to 0, 1, 2 respectively | |
| 702 for backwards compatibility with old UNIX | |
| 703 Change definitions of stdin/out/err to be addresses of FILE | |
| 704 globals - even though they're actually Cyg_StdioStream it'll work | |
| 705 | |
| 706 * include/pkgconf/libc.h: | |
| 707 Make CYGPRI_LIBC_WEAK et al macros depend on new ones in infra | |
| 708 Reorganise trace options under the individual components they are | |
| 709 associated with. | |
| 710 Reorganise thread-safety options under the individual components | |
| 711 they are associated with. | |
| 712 Add new CYGSEM_LIBC_INVOKE_DEFAULT_STATIC_CONSTRUCTORS option | |
| 713 Misc. reformatting | |
| 714 Remove dependency on pkgconf/kernel.h - Configuration Tool will | |
| 715 generate check macros anyway. | |
| 716 Remove CYGPKG_LIBC_TRACE, CYGFUN_LIBC_strtok, CYGPKG_LIBC_RAND | |
| 717 options | |
| 718 Tidy up description header | |
| 719 | |
| 720 * src/clibincl/clibdata.hxx: | |
| 721 * src/clibincl/clibdata.inl: | |
| 722 * src/support/clibdata.cxx: | |
| 723 Remove and instead rely on each component to initialise its own data | |
| 724 | |
| 725 * src/clibincl/stdiofiles.hxx, src/clibincl/stdiofiles.inl: | |
| 726 New files to contain global file list and lock (if applicable). | |
| 727 Implemented as class with member access functions | |
| 728 | |
| 729 * src/errno/errno.cxx: | |
| 730 Reorganise with self-contained per-thread data, if applicable | |
| 731 Remove ifdef CYGPKG_LIBC | |
| 732 Tidy up description header | |
| 733 Rename cyg_get_errno_p() to cyg_libc_get_errno_p() | |
| 734 | |
| 735 * src/stdio/common/fclose.cxx: | |
| 736 * src/stdio/common/fflush.cxx: | |
| 737 * src/stdio/common/fopen.cxx: | |
| 738 * src/stdio/common/freopen.cxx: | |
| 739 Remove ifdef CYGPKG_LIBC | |
| 740 Use new global file access method from stdiofiles.hxx | |
| 741 Tidy up description header | |
| 742 Use new CYGBLD_ATTRIB_WEAK_ALIAS | |
| 743 Access errno "normally" rather than clibdata way | |
| 744 | |
| 745 * src/stdio/common/stdin.cxx: | |
| 746 * src/stdio/common/stdout.cxx | |
| 747 * src/stdio/common/stderr.cxx: | |
| 748 New files. Implement Cyg_StdioStream objects for each stream. In | |
| 749 separate self-contained files so using one doesn't bring in the | |
| 750 others | |
| 751 | |
| 752 * src/stdio/common/stdiofiles.cxx: | |
| 753 New file. Implements global files array and lock | |
| 754 | |
| 755 * src/stdlib/_exit.cxx: | |
| 756 Tidy up description header | |
| 757 Remove ifdef CYGPKG_LIBC | |
| 758 Use infra CYGBLD* macros | |
| 759 | |
| 760 * src/stdlib/malloc.cxx: | |
| 761 Tidy up description header | |
| 762 Remove ifdef CYGPKG_LIBC | |
| 763 Add pkgconf/kernel.h now that pkgconf/libc.h doesn't have it | |
| 764 Use infra CYGBLD* macros | |
| 765 Make pool visible externally with weak attribute and new name | |
| 766 cyg_libc_malloc_memorypool | |
| 767 | |
| 768 * src/stdlib/rand.cxx: | |
| 769 * src/stdlib/strtok.cxx: | |
| 770 Reorganise with self-contained per-thread data, if applicable | |
| 771 Remove ifdef CYGPKG_LIBC | |
| 772 Tidy up description header | |
| 773 Use infra CYGBLD* macros | |
| 774 | |
| 775 * src/support/cstartup.cxx: | |
| 776 Split into smaller files to make selective linking work better, | |
| 777 fix i386 port problem and make GDB happy | |
| 778 | |
| 779 * src/support/environ.cxx: | |
| 780 * src/support/invokemain.cxx: | |
| 781 * src/support/main.cxx: | |
| 782 * src/support/mainthread.cxx: | |
| 783 New files from bits of the old cstartup.cxx | |
| 784 Add support for CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG | |
| 785 | |
| 786 * src/PKGconf.mak: | |
| 787 Update to reflect file additions/deletion | |
| 788 | |
| 789 * tests/stdlib/rand1.c: | |
| 790 * tests/stdlib/rand2.c: | |
| 791 * tests/stdlib/rand3.c: | |
| 792 * tests/stdlib/srand.c: | |
| 793 Make conform to coding standards | |
| 794 Remove ifdef CYGPKG_LIBC_RAND | |
| 795 Tidy up description header | |
| 796 | |
| 797 * tests/string/strtok.c: | |
| 798 Make conform to coding standards | |
| 799 Remove ifdef CYGFUN_LIBC_strtok | |
| 800 Tidy up description header | |
| 801 | |
| 802 1999-01-15 Mark Galassi <rosalia@cygnus.com> | |
| 803 | |
| 804 * tests/stdlib/getenv.c (main): added tests for the case in which | |
| 805 the user does not supply environ and in which the user supplies a | |
| 806 NULL environ. | |
| 807 | |
| 808 1999-01-15 Jesper Skov <jskov@cygnus.co.uk> | |
| 809 | |
| 810 * src/support/cstartup.cxx: Added workaround for weak aliasing | |
| 811 problem in i386 gcc. | |
| 812 | |
| 813 | |
| 814 1999-01-15 Gary Thomas <gthomas@cygnus.co.uk> | |
| 815 | |
| 816 * include/pkgconf/libc.h (CYGNUM_LIBC_MAIN_STACK_SIZE): | |
| 817 (CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE): Change defaults to be | |
| 818 more reasonable on small systems. | |
| 819 | |
| 820 1999-01-04 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 821 | |
| 822 * src/support/clibdata.cxx: | |
| 823 Minor bug with environ not being initialised correctly by | |
| 824 default | |
| 825 | |
| 826 1998-12-24 Bart Veer <bartv@cygnus.co.uk> | |
| 827 | |
| 828 * src/clibincl/stream.inl (Cyg_StdioStream): | |
| 829 check_this() member functions should now be const | |
| 830 | |
| 831 1998-12-22 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 832 | |
| 833 * src/string/memchr.cxx (_memchr): | |
| 834 treat search value parameter to memchr as an unsigned byte, | |
| 835 not a signed int - copied fix from newlib PR 18471 | |
| 836 | |
| 837 1998-12-21 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 838 | |
| 839 * tests/stdlib/realloc.c: | |
| 840 * tests/stdlib/malloc3.c: | |
| 841 * tests/stdlib/malloc2.c: | |
| 842 Warning cleanup | |
| 843 | |
| 844 1998-12-14 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 845 | |
| 846 * tests/stdlib/malloc2.c, tests/stdlib/malloc3.c, | |
| 847 tests/stdlib/realloc.c: | |
| 848 Only run these tests when we have a coalescing memory allocator | |
| 849 | |
| 850 1998-12-14 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 851 | |
| 852 * src/stdio/common/stream.cxx: | |
| 853 Only check buffer init success if buffering | |
| 854 | |
| 855 * src/stdio/common/streambuf.cxx (set_buffer): | |
| 856 Check for diff of requested size against buffer_size, not | |
| 857 get_buffer_size(), since this may return -1, which won't be | |
| 858 equal to size, and will cause malloc to be called | |
| 859 | |
| 860 1998-12-01 Jesper Skov <jskov@cygnus.co.uk> | |
| 861 | |
| 862 * tests/stdlib/getenv.c (main): Don't declare variables when they | |
| 863 are not used. | |
| 864 | |
| 865 Thu Nov 26 17:59:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 866 | |
| 867 * tests/string/strncpy1.c: | |
| 868 Fix off-by-one error since it called my_strcmp() and not | |
| 869 my_strncmp(), which meant in included the trailing NULL when it | |
| 870 shouldn't have. | |
| 871 | |
| 872 1998-11-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 873 | |
| 874 * src/stdlib/qsort.cxx (_qsort): | |
| 875 * src/stdlib/rand.cxx (_srand): | |
| 876 Changed CYG_REPORT_FUNCNAMETYPE to CYG_REPORT_FUNCNAME in void | |
| 877 functions. | |
| 878 | |
| 879 Mon Oct 26 18:49:00 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 880 | |
| 881 * src/support/cstartup.cxx (cyg_libc_dummy_main): | |
| 882 Silence compiler warning with cast of char * to CYG_ADDRWORD | |
| 883 | |
| 0 | 884 Wed Oct 28 17:31:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
| 885 | |
| 886 * src/time/clock.cxx (_clock): | |
| 887 Reorder scaling expression as it was both incorrect and risked | |
| 888 overflow. | |
| 889 Fix for PR 18076 | |
| 890 | |
| 891 Mon Oct 19 14:40:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 892 | |
| 893 * include/stdio.h (EOF): | |
| 894 Change from -64 to (-1), to allow broken code to work :-/ | |
| 895 Also change other negative defines to be within parentheses | |
| 896 | |
| 897 1998-10-19 Mark Galassi <rosalia@cygnus.com> | |
| 898 | |
| 899 * include/pkgconf/libc.h: updated the doc URL | |
| 900 | |
| 901 Thu Oct 15 21:33:44 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 902 | |
| 903 * src/clibincl/clibdata.hxx: | |
| 904 Only include kernel thread headers when we're in thread-safe mode | |
| 905 | |
| 906 * src/time/clock.cxx: | |
| 907 Only include kernel clock headers if there's a kernel with the | |
| 908 right functionality available | |
| 909 | |
| 910 * tests/time/clock.c: | |
| 911 Remove unnecessary inclusion of <pkgconf/kernel.h> | |
| 912 | |
| 913 Above changes are required for PR 17229 | |
| 914 | |
| 915 Wed Oct 14 16:38:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 916 | |
| 917 * src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl: | |
| 918 Conditionalise inclusion of clibincl/stdiosupp.hxx and | |
| 919 clibincl/stream.hxx. Tidying up PR 17502 | |
| 920 | |
| 921 Wed Oct 14 14:08:56 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 922 | |
| 923 * include/pkgconf/libc.h: | |
| 924 Rename CYGPKG_LIBC_STRING_OPTIMISATIONS to | |
| 925 CYGPKG_LIBC_STRING_OPTIMIZATIONS to make it truely merkin. | |
| 926 | |
| 927 Tue Oct 13 19:34:41 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 928 | |
| 929 * include/pkgconf/libc.h (CYGDAT_LIBC_ARGUMENTS): | |
| 930 Add a default argv[0] of "" as many programs assume argc>0 | |
| 931 The standard allows argv[0] to be "" if the program name | |
| 932 is not available | |
| 933 | |
| 934 1998-09-26 Bart Veer <bartv@cygnus.co.uk> | |
| 935 | |
| 936 * src/clibincl/stdiosupp.hxx: | |
| 937 PR 17502: this header file now does nothing if the stdio option | |
| 938 is disabled completely. This is the same behaviour is | |
| 939 clibincl/stream.hxx, although arguably the #ifdef protection | |
| 940 should happen wherever the header file is #include'd rather than | |
| 941 in the header file itself. | |
| 942 | |
| 943 * src/clibincl/clibdata.hxx: | |
| 944 PR 17502: this header file still #include's internal stdio-related | |
| 945 header files and references the FILE structure, even if stdio is | |
| 946 disabled. There were some #ifdef's for CYGPKG_LIBC_STDIO already. | |
| 947 One more has been added for _fopen() and _fclose(). | |
| 948 | |
| 949 1998-09-25 Bart Veer <bartv@cygnus.co.uk> | |
| 950 | |
| 951 * src/clibincl/streambuf.inl (Cyg_StdioStreamBuffer): | |
| 952 PR 17487: Reorder the calls to initialize member fields, to | |
| 953 eliminate a compiler warning. | |
| 954 | |
| 955 Fri Sep 25 19:04:29 1998 Jonathan Larmour <jlarmour@peshwari.cygnus.co.uk> | |
| 956 | |
| 957 * src/errno/errno.cxx, src/stdlib/bsearch.cxx, | |
| 958 src/stdlib/qsort.cxx, src/stdlib/rand.cxx, src/string/strtok.cxx, | |
| 959 src/time/clock.cxx: | |
| 960 Only define tracing variable and tracing level macro when | |
| 961 the relevant tracing level config options are set. Otherwise | |
| 962 keep the tracing level fixed at 0 | |
| 963 Fix for PR 17476 | |
| 964 | |
| 965 * include/pkgconf/libc.h: | |
| 966 Define trace levels only if parent CYGPKG_LIBC_TRACE is defined | |
| 967 for consistency with Configuration Tool | |
| 968 | |
| 969 | |
| 970 Fri Sep 25 17:24:45 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 971 | |
| 972 * src/stdio/common/stdioinlines.cxx: | |
| 973 Make definition of vscanf() dependent on CYGFUN_LIBC_STDIO_ungetc | |
| 974 otherwise _vfscanf() won't be compiled. This therefore would | |
| 975 cause a link fail iff selective linking is not enabled. | |
| 976 Fix for PR 17455 | |
| 977 | |
| 978 Fri Sep 25 17:23:17 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 979 | |
| 980 * src/stdlib/rand.cxx: | |
| 981 Make compilation dependent on CYGPKG_LIBC_RAND | |
| 982 Fix for PR 17473 | |
| 983 | |
| 984 * tests/stdlib/srand.c: | |
| 985 Make definition of dummy test pass conditional on CYGPKG_LIBC_RAND | |
| 986 not being defined, as well as CYGPKG_LIBC | |
| 987 Caused compilation failure when testing PR 17473 fix | |
| 988 | |
| 989 Mon Sep 21 17:11:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 990 | |
| 991 * tests/stdio/sscanf.c: | |
| 992 Make sscanf test conditional on CYGFUN_LIBC_STDIO_ungetc since | |
| 993 _vfscanf() only gets compiled if this is defined | |
| 994 Fix for PR 17346 | |
| 995 | |
| 996 1998-09-20 Mark Galassi <rosalia@cygnus.com> | |
| 997 | |
| 998 * include/pkgconf/libc.h: updated CDL doc strings. | |
| 999 | |
| 1000 Fri Sep 18 22:18:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1001 | |
| 1002 * src/clibincl/clibdata.inl (get_errno_p): | |
| 1003 Rather than this function only being available in thread-safe mode, | |
| 1004 instead make what it returns be either the per-thread errno, or | |
| 1005 global errno depending on the configuration. | |
| 1006 Include <errno.h> (conditionally) to support this change | |
| 1007 | |
| 1008 Wed Sep 16 11:20:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1009 | |
| 1010 * include/pkgconf/libc.h: | |
| 1011 Remove "fix me" comment which I forgot to remove before | |
| 1012 | |
| 1013 Tue Sep 15 19:27:57 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1014 | |
| 1015 * include/pkgconf/libc.h: | |
| 1016 Updated descriptions and a few other minor things after review. | |
| 1017 Notably though, the NDEBUG config option has been removed | |
| 1018 | |
| 1019 1998-09-15 Bart Veer <bartv@cygnus.co.uk> | |
| 1020 | |
| 1021 * include/pkgconf/libc.h: | |
| 1022 PR 17201: removed dependency on CYGPKG_KERNEL in the option | |
| 1023 CYGNUM_LIBC_MAIN_STACK_SIZE, since the actual dependencies cannot | |
| 1024 be expressed sensibly in the current system. | |
| 1025 | |
| 1026 1998-09-11 Bart Veer <bartv@cygnus.co.uk> | |
| 1027 | |
| 1028 * include/pkgconf/libc.h: | |
| 1029 Sorting out dependencies for error package. | |
| 1030 | |
| 1031 1998-09-10 Mark Galassi <rosalia@cygnus.com> | |
| 1032 | |
| 1033 * include/pkgconf/libc.h: started adding doc fields to the | |
| 1034 cdl_package data, as a pilot for now. | |
| 1035 | |
| 1036 Wed Sep 9 17:41:23 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1037 | |
| 1038 * include/pkgconf/libc.h: | |
| 1039 Add option CYGIMP_LIBC_MALLOC_CXX_DELETE_CALLS_FREE to explicitly | |
| 1040 control whether the empty delete functions (currently) in | |
| 1041 kernel/.../common/delete.cxx are enabled; controls code bloat, see | |
| 1042 the comments in delete.cxx. | |
| 1043 | |
| 1044 Fri Sep 4 16:43:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1045 | |
| 1046 * tests/stdio/stdiooutput.c: | |
| 1047 Add a default CYG_TEST_PASS() to make sure the test infra doesn't | |
| 1048 complain. | |
| 1049 Also remove the unused string functionsa | |
| 1050 | |
| 1051 Fri Sep 4 15:43:48 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1052 | |
| 1053 * src/stdlib/exit.cxx (__libc_exit): | |
| 1054 * src/stdlib/_exit.cxx (__libc__exit): | |
| 1055 * src/stdlib/malloc.cxx (_free): | |
| 1056 * src/stdlib/abort.cxx (abort): | |
| 1057 * src/support/cstartup.cxx (invoke_main): | |
| 1058 Tracing system asserted cos it was being called incorrectly; these | |
| 1059 are void functions so you shouldn't give a type to the function | |
| 1060 reporting call. | |
| 1061 | |
| 1062 Fri Sep 4 15:03:10 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1063 | |
| 1064 * include/pkgconf/libc.h: | |
| 1065 Fix CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE description to refer to | |
| 1066 the table.cxx file, not table.h | |
| 1067 | |
| 1068 Fri Sep 4 14:38:52 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1069 | |
| 1070 * include/pkgconf/libc.h: | |
| 1071 Add description for CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE since | |
| 1072 Proven won't be making any changes to the device driver | |
| 1073 implementation after all. | |
| 1074 Fix for PR 17148 | |
| 1075 | |
| 1076 * src/clibincl/stream.inl (set_position): | |
| 1077 Remove "fix me" line. It is obvious that this will have to change | |
| 1078 with a filesystem interface | |
| 1079 Fix for PR 17147 | |
| 1080 | |
| 1081 * src/stdio/common/freopen.cxx: | |
| 1082 Remove "fix me" - I know about this issue | |
| 1083 Fix for PR 17145 | |
| 1084 | |
| 1085 * src/stdio/common/stream.cxx (read): | |
| 1086 Remove "fix me" and change to use memcpy | |
| 1087 Fix for PR 17144 | |
| 1088 | |
| 1089 Fri Sep 4 14:36:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1090 | |
| 1091 * tests/stdio/stdiooutput.c: | |
| 1092 Actually add it this time! | |
| 1093 | |
| 1094 Fri Sep 4 13:48:13 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1095 | |
| 1096 * tests/stdio/stdiooutput.c: | |
| 1097 Add new tests for misc stdio output functions | |
| 1098 | |
| 1099 * tests/PKGconf.mak: | |
| 1100 Build stdiooutput.c test | |
| 1101 | |
| 1102 Fri Sep 4 12:52:10 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1103 | |
| 1104 * src/clibincl/stream.inl (write_byte): | |
| 1105 Remove bogus assert | |
| 1106 | |
| 1107 * tests/stdlib/getenv.c (main): | |
| 1108 Check whether str is NULL before doing a strcmp() | |
| 1109 | |
| 1110 * tests/stdio/sprintf2.c (main): | |
| 1111 Reformat to 76 columns | |
| 1112 | |
| 1113 Fri Sep 4 02:10:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1114 | |
| 1115 * src/clibincl/stream.hxx, src/stdio/common/stream.cxx: | |
| 1116 Add new peek_byte method to Cyg_StdioStream | |
| 1117 | |
| 1118 * src/stdio/input/vfscanf.cxx (_vfscanf): | |
| 1119 Fix up buffer access to work with new peek_byte method above | |
| 1120 Fix for PR 16954 | |
| 1121 | |
| 1122 Thu Sep 3 19:40:11 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1123 | |
| 1124 * tests/stdlib/rand1.c, tests/stdlib/rand2.c, | |
| 1125 tests/stdlib/rand3.c: | |
| 1126 Add extra check for CYGPKG_LIBC_RAND to decide whether the test | |
| 1127 is applicable or not | |
| 1128 | |
| 1129 * tests/stdlib/rand2.c (test): | |
| 1130 Use CYGNUM_LIBC_RAND_SEED for default seed, not 1 | |
| 1131 | |
| 1132 * tests/string/strtok.c: | |
| 1133 Add extra check for CYGFUN_LIBC_strtok to decide whether the | |
| 1134 test is applicable or not | |
| 1135 | |
| 1136 Wed Sep 2 19:11:40 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1137 | |
| 1138 * src/stdio/input/fread.cxx, src/stdio/output/fwrite.cxx: | |
| 1139 Add fread() and fwrite() functions | |
| 1140 | |
| 1141 * src/PKGconf.mak: | |
| 1142 Build fread.cxx and fwrite.cxx from above | |
| 1143 | |
| 1144 * src/stdio/common/stream.cxx: | |
| 1145 Reformat to 76 columns | |
| 1146 In write(), move initialisation of *bytes_written to start | |
| 1147 In read(), move initialisation of *bytes_read to start | |
| 1148 | |
| 1149 * include/stdio.h: | |
| 1150 Reformat to 76 columns | |
| 1151 | |
| 1152 Replace all references to the ANSI | |
| 1153 standard to instead by the ISO C standard | |
| 1154 | |
| 1155 Add commented argument names for "documentation" | |
| 1156 | |
| 1157 Add fread() and fwrite() prototypes | |
| 1158 | |
| 1159 * src/clibincl/stdiosupp.hxx: | |
| 1160 Copy the above changes from stdio.h, and add _fread() and _fwrite() | |
| 1161 prototypes | |
| 1162 | |
| 1163 * src/stdio/output/fputs.cxx, src/stdio/input/fgets.cxx: | |
| 1164 Reformat to 76 columns | |
| 1165 | |
| 1166 Wed Sep 2 15:41:15 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1167 | |
| 1168 * src/stdio/input/vfscanf.cxx: | |
| 1169 Reformat to 76 columns | |
| 1170 | |
| 1171 Wed Sep 2 14:46:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1172 | |
| 1173 * src/stdio/common/fflush.cxx: | |
| 1174 Use trylock_me() instead of lock_me(), and loop to prevent | |
| 1175 deadlocks | |
| 1176 | |
| 1177 * src/clibincl/stream.hxx, src/clibincl/stream.inl: | |
| 1178 Add trylock_me() method | |
| 1179 | |
| 1180 * src/clibincl/stream.hxx, src/clibincl/stream.inl, | |
| 1181 src/stdio/common/fflush.cxx: | |
| 1182 Reformat to 76 columns | |
| 1183 | |
| 1184 Wed Sep 2 12:24:27 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1185 | |
| 1186 * include/pkgconf/libc.h: | |
| 1187 Change 0x7fff to 0x7fffffff. Oops! | |
| 1188 give main stack size option a legal_values field | |
| 1189 Undefine tracing by default | |
| 1190 Add some more description in the header | |
| 1191 | |
| 1192 Tue Sep 1 20:02:07 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1193 | |
| 1194 * tests/i18n/setlocale.c (cyg_package_start): | |
| 1195 Fix typo - extra "x" for no reason at all! :-) | |
| 1196 | |
| 1197 Tue Sep 1 19:44:58 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1198 | |
| 1199 * src/i18n/locale.cxx: | |
| 1200 Fix bug in find_locale_data() that miscalculated size of | |
| 1201 all_locales | |
| 1202 | |
| 1203 Make find_locale_data() match the locale "" and add some | |
| 1204 other things in _setlocale() to ensure that "C" gets returned | |
| 1205 when the default locale "" is passed. | |
| 1206 | |
| 1207 Only check the locale pointer when it is non-NULL | |
| 1208 | |
| 1209 * tests/i18n/setlocale.c: | |
| 1210 New tests for setlocale() | |
| 1211 | |
| 1212 * tests/PKGconf.mak: | |
| 1213 Update to build setlocale.c test | |
| 1214 | |
| 1215 * src/support/cstartup.cxx: | |
| 1216 Don't actually call system default main() "main" otherwise GDB | |
| 1217 gets confused and thinks its the entry point. Instead make a weak | |
| 1218 alias and call the real function something different. | |
| 1219 | |
| 1220 Tue Sep 1 18:31:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1221 | |
| 1222 * src/i18n/locale.cxx (_setlocale): | |
| 1223 Fix tracing macro name and remove "str maybe used before | |
| 1224 initialised" warning | |
| 1225 | |
| 1226 * tests/stdlib/qsort.c: | |
| 1227 Correct file description header | |
| 1228 | |
| 1229 Tue Sep 1 17:04:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1230 | |
| 1231 * include/locale.h, src/clibincl/i18nsupp.hxx, src/i18n/locale.cxx: | |
| 1232 New files to add support for locales as defined by the ISO C | |
| 1233 standard. i.e. setlocale() and localeconv() functions and some | |
| 1234 other bits | |
| 1235 | |
| 1236 * include/pkgconf/libc.h: | |
| 1237 Add CYGNUM_LIBC_MAX_LOCALE_NAME_SIZE config option for locale | |
| 1238 support | |
| 1239 | |
| 1240 * src/PKGconf.mak: | |
| 1241 build locale.cxx | |
| 1242 | |
| 1243 * include/errno.h, src/clibincl/ctypesupp.hxx: | |
| 1244 Tidy up to 76 columns | |
| 1245 | |
| 1246 Tue Sep 1 00:24:22 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1247 | |
| 1248 * include/pkgconf/libc.h: | |
| 1249 Move environment-related options from stdlib into new | |
| 1250 CYGPKG_LIBC_STARTUP component. Also add options for main()'s | |
| 1251 arguments (CYGPKG_LIBC_ARGUMENTS), main()'s default stack size | |
| 1252 (CYGNUM_LIBC_MAIN_STACK_SIZE), number of atexit handlers | |
| 1253 (CYGNUM_LIBC_ATEXIT_HANDLERS), and whether _exit() stops the | |
| 1254 system (CYGSEM_LIBC_EXIT_STOPS_SYSTEM). | |
| 1255 | |
| 1256 * src/clibincl/stdlibsupp.hxx: | |
| 1257 Fix a few comment bugs, and add new | |
| 1258 cyg_libc_invoke_atexit_handlers() function prototype | |
| 1259 | |
| 1260 * src/stdlib/_exit.cxx, src/stdlib/atexit.cxx, src/stdlib/exit.cxx: | |
| 1261 Implement exit(), atexit() and _exit() correctly now. Also | |
| 1262 includes cyg_libc_invoke_atexit_handlers() in atexit.cxx. Now | |
| 1263 we get the correct behaviour of atexit(), and exit() invokes the | |
| 1264 atexit handlers and fflushs all the stdio streams. Add plenty of | |
| 1265 tracing of asserts too. | |
| 1266 | |
| 1267 * src/support/cstartup.cxx: | |
| 1268 Make main_thread object an exported global. Allow user-settable | |
| 1269 arguments. Add MUCH more tracing and asserts. Improve comments. | |
| 1270 Tidy up to 76 columns | |
| 1271 | |
| 1272 * tests/stdlib/atexit.c: | |
| 1273 Add simple test for atexit() and it calling registered functions | |
| 1274 | |
| 1275 * tests/PKGconf.mak: | |
| 1276 Build atexit.c test | |
| 1277 | |
| 1278 Mon Aug 31 18:54:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1279 | |
| 1280 * src/stdlib/getenv.cxx, tests/stdlib/getenv.c: | |
| 1281 Add support for getenv(), and some tests to ensure it works | |
| 1282 | |
| 1283 * src/PKGconf.mak, tests/PKGconf.mak: | |
| 1284 Update to include getenv.cxx and getenv.c test | |
| 1285 | |
| 1286 * src/clibincl/clibdata.hxx: | |
| 1287 remove prototype for environ - we expect files needing it to | |
| 1288 define it themselves | |
| 1289 | |
| 1290 * src/support/clibdata.cxx: | |
| 1291 Tidy up to 76 columns and add definition of char **environ, but | |
| 1292 with a configurable initialiser (see libc.h below) | |
| 1293 | |
| 1294 * tests/stdlib/abs.c (main): | |
| 1295 Tidy up to 76 columns | |
| 1296 | |
| 1297 * src/stdlib/malloc.cxx: | |
| 1298 Tidy up to 76 columns and remove warning for undefined _memcpy() | |
| 1299 by changing to memcpy(), and casting away signedness | |
| 1300 | |
| 1301 * include/pkgconf/libc.h: | |
| 1302 Add CYGPKG_LIBC_ENVIRONMENT and CYGDAT_LIBC_DEFAULT_ENVIRONMENT | |
| 1303 configuration options | |
| 1304 | |
| 1305 * include/pkgconf/libc.h, src/clibincl/clibdata.hxx: | |
| 1306 Tidy up to 76 columns | |
| 1307 | |
| 1308 * include/stdlib.h: | |
| 1309 Add getenv() prototype and tidy up to 76 columns | |
| 1310 | |
| 1311 * src/clibincl/stdlibsupp.hxx: | |
| 1312 Add _getenv() prototype | |
| 1313 | |
| 1314 Mon Aug 31 13:37:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1315 | |
| 1316 * src/stdlib/malloc.cxx: | |
| 1317 Add realloc() | |
| 1318 | |
| 1319 * tests/stdlib/realloc.c: | |
| 1320 Add this file to test new realloc() functionality | |
| 1321 | |
| 1322 * tests/PKGconf.mak: | |
| 1323 Build realloc test | |
| 1324 | |
| 1325 * tests/stdlib/malloc3.c (main), tests/stdlib/malloc2.c (main), | |
| 1326 tests/stdlib/malloc1.c (main): | |
| 1327 Conditionalise local vars to prevent warnings | |
| 1328 | |
| 1329 * tests/stdlib/malloc3.c (fill_with_data): | |
| 1330 Move '{' into "verb" line | |
| 1331 | |
| 1332 * include/pkgconf/libc.h: | |
| 1333 Require infra tracing support to allow tracing | |
| 1334 | |
| 1335 * include/stdlib.h: | |
| 1336 Add realloc() | |
| 1337 | |
| 1338 * src/clibincl/stdlibsupp.hxx: | |
| 1339 Update the commented argument names from stdlib.h, including realloc() | |
| 1340 | |
| 1341 1998-08-28 Bart Veer <bartv@cygnus.co.uk> | |
| 1342 | |
| 1343 * include/pkgconf/libc.h: | |
| 1344 * src/clibincl/clibdata.hxx, src/time/clock.cxx: | |
| 1345 | |
| 1346 Updated for new kernel configuration option symbol names | |
| 1347 | |
| 1348 Fri Aug 28 19:18:25 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1349 | |
| 1350 Changed the entry below to sat "tx39" instead of "mn10300". | |
| 1351 It's been a long week. | |
| 1352 | |
| 1353 Fri Aug 28 18:59:20 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1354 | |
| 1355 * src/support/cstartup.cxx: Add a weakly named main to allow the | |
| 1356 default configuration to link on the tx39 which has no | |
| 1357 scalextric linking yet. The static Cyg_Thread main_thread object | |
| 1358 below continues to exist, though unreferenced, so all its | |
| 1359 descendants must exist too. | |
| 1360 | |
| 1361 Fri Aug 28 08:54:29 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1362 | |
| 1363 * include/stdlib.h: | |
| 1364 Add commented argument names Add exit(), and atexit(). And move | |
| 1365 these along with abort() and _exit() to a new section. | |
| 1366 | |
| 1367 * src/stdlib/atexit.cxx, src/stdlib/exit.cxx: | |
| 1368 Add trivial versions of atexit() and exit() | |
| 1369 | |
| 1370 * include/pkgconf/libc.h: | |
| 1371 Add CYGNUM_LIBC_MAIN_STACK_SIZE config option | |
| 1372 | |
| 1373 * include/sys/cstartup.h, src/support/cstartup.cxx, src/PKGconf.mak: | |
| 1374 New files to provide a new function cyg_iso_c_support(), which | |
| 1375 invokes main "correctly". | |
| 1376 | |
| 1377 * tests/ctype/ctype.c, tests/setjmp/setjmp.c, tests/stdio/sprintf1.c, | |
| 1378 tests/stdio/sprintf2.c, tests/stdio/sscanf.c, tests/stdlib/abs.c, | |
| 1379 tests/stdlib/atoi.c, tests/stdlib/atol.c, tests/stdlib/bsearch.c, | |
| 1380 tests/stdlib/div.c, tests/stdlib/labs.c, tests/stdlib/ldiv.c, | |
| 1381 tests/stdlib/malloc1.c, tests/stdlib/malloc2.c, | |
| 1382 tests/stdlib/malloc3.c, tests/stdlib/qsort.c, tests/stdlib/rand1.c, | |
| 1383 tests/stdlib/rand2.c, tests/stdlib/rand3.c, tests/stdlib/srand.c, | |
| 1384 tests/stdlib/strtol.c, tests/stdlib/strtoul.c, | |
| 1385 tests/string/memchr.c, tests/string/memcmp1.c, | |
| 1386 tests/string/memcmp2.c, tests/string/memcpy1.c, | |
| 1387 tests/string/memcpy2.c, tests/string/memmove1.c, | |
| 1388 tests/string/memmove2.c, tests/string/memset.c, | |
| 1389 tests/string/strcat1.c, tests/string/strcat2.c, | |
| 1390 tests/string/strchr.c, tests/string/strcmp1.c, | |
| 1391 tests/string/strcmp2.c, tests/string/strcoll1.c, | |
| 1392 tests/string/strcoll2.c, tests/string/strcpy1.c, | |
| 1393 tests/string/strcpy2.c, tests/string/strcspn.c, | |
| 1394 tests/string/strlen.c, tests/string/strncat1.c, | |
| 1395 tests/string/strncat2.c, tests/string/strncpy1.c, | |
| 1396 tests/string/strncpy2.c, tests/string/strpbrk.c, | |
| 1397 tests/string/strrchr.c, tests/string/strspn.c, | |
| 1398 tests/string/strstr.c, tests/string/strtok.c, | |
| 1399 tests/string/strxfrm1.c, tests/string/strxfrm2.c, | |
| 1400 tests/time/clock.c: | |
| 1401 | |
| 1402 Modify all tests to use new startup mechanism, and cyg_iso_c_start() | |
| 1403 | |
| 1404 Fri Aug 28 00:29:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1405 | |
| 1406 * src/stdio/common/stream.cxx: | |
| 1407 Add #ifdef CYGSEM_LIBC_STDIO_WANT_BUFFERED_IO around all accesses to | |
| 1408 flags.last_buffer_op_was_read. Fix for PR 16997 | |
| 1409 | |
| 1410 Thu Aug 27 01:12:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1411 | |
| 1412 * include/sys/file_if.h: | |
| 1413 Fix comments and remove cyg_get_file_star() | |
| 1414 | |
| 1415 Wed Aug 26 20:24:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1416 | |
| 1417 * include/pkgconf/libc.h: | |
| 1418 Remove #define CYGPKG_LIBC is that is meant to live in | |
| 1419 <pkgconf/system.h> after all | |
| 1420 | |
| 1421 Wed Aug 26 19:39:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1422 | |
| 1423 * include/pkgconf/libc.h: | |
| 1424 More fixes to CDL stuff to make it work better, and look better on | |
| 1425 the screen | |
| 1426 | |
| 1427 Tue Aug 25 20:21:41 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1428 | |
| 1429 * include/pkgconf/libc.h: | |
| 1430 Make some fixes after running the ConfigTool | |
| 1431 | |
| 1432 Tue Aug 25 16:46:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1433 | |
| 1434 * include/pkgconf/libc.h (CYGNUM_LIBC_STDIO_BUFSIZE): | |
| 1435 Fix typo of CYGNUM_LIBC_STDIO_BUFSIZE | |
| 1436 | |
| 1437 Tue Aug 25 15:10:57 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1438 | |
| 1439 * include/pkgconf/libc.h: | |
| 1440 Tidy up CDL stuff a bit more, prior to checking it actually works. | |
| 1441 | |
| 1442 Tue Aug 25 11:38:52 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1443 | |
| 1444 * tests/stdlib/malloc2.c (main): | |
| 1445 Prevent calls to CYG_TEST_STILL_ALIVE for now | |
| 1446 | |
| 1447 Tue Aug 25 05:39:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1448 | |
| 1449 * include/pkgconf/libc.h: | |
| 1450 Change cosmetic paragraph alignment. | |
| 1451 | |
| 1452 Tue Aug 25 03:11:34 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1453 | |
| 1454 * src/support/clibdata.cxx: | |
| 1455 Make stderr initialise with buffer size 0. | |
| 1456 For PR 16955 | |
| 1457 | |
| 1458 Mon Aug 24 17:38:46 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1459 | |
| 1460 * include/pkgconf/libc.h: | |
| 1461 First pass at CDL-ifying the C library configuration. Currently | |
| 1462 deliberately disabled as there a few outstanding issues. | |
| 1463 | |
| 1464 Mon Aug 24 16:14:22 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1465 | |
| 1466 * src/stdio/output/vfnprintf.cxx (_vfnprintf): | |
| 1467 clear up warning for unused argument | |
| 1468 | |
| 1469 * tests/stdlib/malloc2.c (NUM_ITERATIONS): | |
| 1470 Lower to 100 from 50000 so it won't take too long under the simulator | |
| 1471 | |
| 1472 Thu Aug 20 17:48:43 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1473 | |
| 1474 * src/stdlib/malloc.cxx: | |
| 1475 Remove now unnecessary inclusion of kernel/ktypes.h | |
| 1476 | |
| 1477 Wed Aug 19 19:19:14 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1478 | |
| 1479 * tests/stdio/sprintf1.c, tests/stdio/sprintf2.c, | |
| 1480 tests/stdio/sscanf.c, tests/stdlib/atoi.c, tests/stdlib/atol.c, | |
| 1481 tests/stdlib/rand1.c, tests/stdlib/rand2.c, tests/stdlib/rand3.c, | |
| 1482 tests/stdlib/srand.c, tests/stdlib/strtol.c, | |
| 1483 tests/stdlib/strtoul.c, tests/string/strtok.c, | |
| 1484 tests/time/clock.c: | |
| 1485 Add parameters to "main()" to silence warnings | |
| 1486 | |
| 1487 Wed Aug 19 18:52:59 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1488 | |
| 1489 * src/stdio/common/stream.cxx (refill_read_buffer): | |
| 1490 Put conditional error check into same #ifdef and if as what was being | |
| 1491 checked in the first place! | |
| 1492 | |
| 1493 Wed Aug 19 18:49:19 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1494 | |
| 1495 * src/clibincl/stream.inl: | |
| 1496 Reorder Cyg_StdioStream::check_this() to be first to silence | |
| 1497 warnings | |
| 1498 | |
| 1499 Tue Aug 18 16:10:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1500 | |
| 1501 * ecc/language/c/libc/current/src/clibincl/clibdata.hxx, | |
| 1502 ecc/language/c/libc/current/src/errno/errno.cxx, | |
| 1503 ecc/language/c/libc/current/src/stdio/common/fopen.cxx, | |
| 1504 ecc/language/c/libc/current/src/stdlib/rand.cxx, | |
| 1505 ecc/language/c/libc/current/src/string/strtok.cxx: | |
| 1506 Rename CYGIMP_LIBC_INTERNAL_DATA_PREAMBLE, | |
| 1507 CYGIMP_LIBC_INTERNAL_DATA_ALLOC_CHECK_PREAMBLE, | |
| 1508 CYGVAR_LIBC_INTERNAL_DATA, and | |
| 1509 CYGIMP_LIBC_INTERNAL_DATA_CHECK to all have CYGPRI_ prefix instead | |
| 1510 as recommended by the config name rules | |
| 1511 | |
| 1512 | |
| 1513 Tue Aug 18 14:31:19 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1514 | |
| 1515 * src/stdio/common/setvbuf.cxx (_setvbuf): | |
| 1516 Rename variable names in assert line, otherwise doesn't build | |
| 1517 with asserts on! | |
| 1518 | |
| 1519 Sun Aug 16 18:15:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1520 | |
| 1521 * src/stdio/input/vfscanf.cxx (_vfscanf): | |
| 1522 Fix some bugs, although there are some left to fix still. Unrelated | |
| 1523 to the rest of the checkins, so I will check the partial fix in now. | |
| 1524 | |
| 1525 * src/clibincl/stream.hxx, src/clibincl/stream.inl, | |
| 1526 src/stdio/common/stream.cxx: | |
| 1527 Add parameters to constructor to allow more things to be done at | |
| 1528 construction time. | |
| 1529 | |
| 1530 Now we have "new", remove separate "construct" method | |
| 1531 | |
| 1532 Add more documentation on constructor | |
| 1533 | |
| 1534 As requested by code review, where possible, move boolean flags | |
| 1535 into separate packed bitfield structure for space efficiency | |
| 1536 | |
| 1537 Make readbuf_char be usable all the time rather than when configured | |
| 1538 not to be buffering, as it is also needed for non-buffered mode i.e. | |
| 1539 _IONBF | |
| 1540 | |
| 1541 * src/stdio/common/fopen.cxx: | |
| 1542 Change to use new method of construction from above, using new | |
| 1543 | |
| 1544 Use thread-specific data, rather than global. And so change errnos | |
| 1545 to access errno entry specifically | |
| 1546 | |
| 1547 Make process_mode() check for append mode too | |
| 1548 | |
| 1549 Reformat for coding standards to have { in same line as "verb" | |
| 1550 | |
| 1551 * src/stdio/common/setvbuf.cxx: | |
| 1552 | |
| 1553 Change to cope with different way of dealing with buffering policy | |
| 1554 flags etc. in Cyg_StdioStream | |
| 1555 | |
| 1556 * src/stdio/common/vsnprintf.cxx, src/stdio/common/vsscanf.cxx, | |
| 1557 src/support/clibdata.cxx: | |
| 1558 Change construction of streams to use new parameters added above, | |
| 1559 and change to use _IONBF mode for string stdio functions, | |
| 1560 otherwise its a waste of memory. And use _IONBF for stderr as the | |
| 1561 ISO standard tells us to! | |
| 1562 | |
| 1563 Reformat for coding standards to have { in same line as "verb" | |
| 1564 | |
| 1565 * src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl: | |
| 1566 Change constructor so that it can be set with default size and | |
| 1567 dynamic buffer (if applicable) | |
| 1568 | |
| 1569 Fix minor bug in destructor - should only call free when allocated | |
| 1570 dynamically | |
| 1571 | |
| 1572 Change get_buffer_size to return -1 if the buffer was not allowed | |
| 1573 to be set up | |
| 1574 | |
| 1575 * src/stdio/common/streambuf.cxx: | |
| 1576 Remove unnecessary stdio.h include and add extra comment to whether | |
| 1577 to free bit in set_buffer() | |
| 1578 | |
| 1579 * src/stdio/common/freopen.cxx: | |
| 1580 Change @@@ to standard fix me string | |
| 1581 | |
| 1582 * src/stdio/output/fputc.cxx: | |
| 1583 Remove unnecessary "written" variable | |
| 1584 | |
| 1585 Thu Aug 13 15:37:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1586 | |
| 1587 * src/stdlib/_exit.cxx: | |
| 1588 Included use of "fix me" line to ensure this is discussed before | |
| 1589 release | |
| 1590 | |
| 1591 * include/stdlib.h, src/stdlib/abort.cxx, src/PKGconf.mak: | |
| 1592 Add abort.cxx to implement abort(), albeit naively | |
| 1593 | |
| 1594 Thu Jul 30 18:03:09 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1595 | |
| 1596 * src/stdio/common/vsscanf.cxx (_vsscanf), | |
| 1597 src/stdio/common/vsnprintf.cxx (_vsnprintf): | |
| 1598 Fix initialiser of pseudo string device table that didn't get updated | |
| 1599 when the table changed (Bad proven, no biscuit). | |
| 1600 | |
| 1601 * src/clibincl/stream.inl (~Cyg_StdioStream): | |
| 1602 Move invalidation of magic_validity_word to after unlock_me(), | |
| 1603 otherwise it always fails! | |
| 1604 | |
| 1605 Tue Jul 28 21:29:53 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1606 | |
| 1607 * src/clibincl/clibdata.hxx: | |
| 1608 Shorten over-long lines | |
| 1609 | |
| 1610 Tue Jul 28 20:28:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1611 | |
| 1612 * src/clibincl/stream.hxx (class Cyg_StdioStream), | |
| 1613 src/clibincl/stream.inl, src/stdio/common/stream.cxx: | |
| 1614 Clarify some comments and get the CYGDBG_DEFINE_CHECK_THIS and | |
| 1615 CYG_ASSERTCLASS stuff going | |
| 1616 | |
| 1617 * src/clibincl/stream.inl: | |
| 1618 Put '{'s on same line as "action" as per coding standards | |
| 1619 Shorten over-long lines | |
| 1620 | |
| 1621 Tue Jul 28 15:31:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1622 | |
| 1623 * src/clibincl/streambuf.inl, src/stdio/common/streambuf.cxx: | |
| 1624 Move set_buffer() from streambuf.inl to new file streambuf.cxx | |
| 1625 | |
| 1626 * src/PKGconf.mak (COMPILE): | |
| 1627 Build new file streambuf.cxx | |
| 1628 | |
| 1629 * src/clibincl/streambuf.hxx (class Cyg_StdioStreamBuffer): | |
| 1630 Add METHODS comment | |
| 1631 | |
| 1632 * src/stdio/common/stream.cxx: | |
| 1633 Put '{'s on same line as "action" as per coding standards | |
| 1634 Shorten over-long lines | |
| 1635 | |
| 1636 Tue Jul 28 00:26:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1637 | |
| 1638 * include/stdlib.inl, src/stdio/input/vfscanf.cxx, | |
| 1639 src/stdio/output/vfnprintf.cxx, src/stdlib/div.cxx, | |
| 1640 src/stdlib/ldiv.cxx, src/stdlib/qsort.cxx, src/stdlib/strtol.cxx, | |
| 1641 src/stdlib/strtoul.cxx, src/string/strtok.cxx: | |
| 1642 | |
| 1643 Include proper Berkeley license inline in the file, rather than | |
| 1644 referring to an external file | |
| 1645 | |
| 1646 * doc/COPYING.UCB: | |
| 1647 Remove, now that it isn't referred to any more | |
| 1648 | |
| 1649 Mon Jul 27 23:34:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1650 | |
| 1651 * include/ctype.h, include/ctype.inl, include/errno.h, | |
| 1652 include/stdio.h, include/stdio.inl, include/stdlib.h, | |
| 1653 include/stdlib.inl, include/string.h, include/string.inl, | |
| 1654 include/time.h, include/sys/file_if.h, src/PKGconf.mak, | |
| 1655 src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl, | |
| 1656 src/clibincl/ctypesupp.hxx, src/clibincl/stdiosupp.hxx, | |
| 1657 src/clibincl/stream.hxx, src/clibincl/streambuf.hxx, | |
| 1658 src/clibincl/streambuf.inl, src/clibincl/stringsupp.hxx, | |
| 1659 src/clibincl/timesupp.hxx, src/ctype/isalnum.cxx, | |
| 1660 src/ctype/isalpha.cxx, src/ctype/iscntrl.cxx, | |
| 1661 src/ctype/isdigit.cxx, src/ctype/isgraph.cxx, | |
| 1662 src/ctype/islower.cxx, src/ctype/isprint.cxx, | |
| 1663 src/ctype/ispunct.cxx, src/ctype/isspace.cxx, | |
| 1664 src/ctype/isupper.cxx, src/ctype/isxdigit.cxx, | |
| 1665 src/ctype/tolower.cxx, src/ctype/toupper.cxx, | |
| 1666 src/errno/errno.cxx, src/stdio/common/snprintf.cxx, | |
| 1667 src/stdio/common/sprintf.cxx, src/stdio/common/sscanf.cxx, | |
| 1668 src/stdio/common/stdioinlines.cxx, src/stdio/common/stream.cxx, | |
| 1669 src/stdio/common/ungetc.cxx, src/stdio/common/vsnprintf.cxx, | |
| 1670 src/stdio/common/vsscanf.cxx, src/stdio/input/fgetc.cxx, | |
| 1671 src/stdio/input/fgets.cxx, src/stdio/input/fscanf.cxx, | |
| 1672 src/stdio/input/gets.cxx, src/stdio/input/scanf.cxx, | |
| 1673 src/stdio/output/fnprintf.cxx, src/stdio/output/fprintf.cxx, | |
| 1674 src/stdio/output/fputc.cxx, src/stdio/output/fputs.cxx, | |
| 1675 src/stdio/output/printf.cxx, src/stdlib/_exit.cxx, | |
| 1676 src/stdlib/abs.cxx, src/stdlib/atof.cxx, src/stdlib/atoi.cxx, | |
| 1677 src/stdlib/atol.cxx, src/stdlib/div.cxx, src/stdlib/labs.cxx, | |
| 1678 src/stdlib/ldiv.cxx, src/stdlib/rand.cxx, src/stdlib/strtod.cxx, | |
| 1679 src/string/memchr.cxx, src/string/memcmp.cxx, | |
| 1680 src/string/memmove.cxx, src/string/strcat.cxx, | |
| 1681 src/string/strchr.cxx, src/string/strcmp.cxx, | |
| 1682 src/string/strcoll.cxx, src/string/strcpy.cxx, | |
| 1683 src/string/strcspn.cxx, src/string/strlen.cxx, | |
| 1684 src/string/strncat.cxx, src/string/strncmp.cxx, | |
| 1685 src/string/strncpy.cxx, src/string/strpbrk.cxx, | |
| 1686 src/string/strrchr.cxx, src/string/strspn.cxx, | |
| 1687 src/string/strstr.cxx, src/string/strsuppt.cxx, | |
| 1688 src/string/strtok.cxx, src/string/strxfrm.cxx, | |
| 1689 src/support/clibdata.cxx, src/time/clock.cxx: | |
| 1690 Untabify | |
| 1691 | |
| 1692 Mon Jul 27 23:14:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1693 | |
| 1694 * src/errno/errno.cxx, src/stdio/input/vfscanf.cxx, | |
| 1695 src/stdio/output/vfnprintf.cxx, src/stdlib/strtol.cxx, | |
| 1696 src/stdlib/strtoul.cxx, src/stdlib/malloc.cxx, src/stdlib/qsort.cxx, | |
| 1697 tests/ctype/ctype.c, tests/stdlib/rand3.c, tests/stdlib/malloc3.c: | |
| 1698 Remove all mentions of "register" in variable declarations. Also | |
| 1699 untabify where needed | |
| 1700 | |
| 1701 * src/stdlib/bsearch.cxx: | |
| 1702 Untabify this too | |
| 1703 | |
| 1704 | |
| 1705 Mon Jul 27 22:18:51 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1706 | |
| 1707 * src/stdio/output/fputc.cxx (_fputc): | |
| 1708 Replace call to stream write() with call to write_byte() | |
| 1709 | |
| 1710 * src/clibincl/stream.inl (write_byte): | |
| 1711 Add asserts for stream write() returning odd values for how much has | |
| 1712 been written | |
| 1713 | |
| 1714 (bytes_available_to_read): | |
| 1715 Remove "register" def for variable declaration | |
| 1716 | |
| 1717 Mon Jul 27 22:06:22 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1718 | |
| 1719 * src/stdio/common/stdiosupp.cxx: | |
| 1720 Remove #if 0'd cyg_get_file_star() and unnecessary pseudo string | |
| 1721 device definition | |
| 1722 | |
| 1723 Mon Jul 27 21:57:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1724 | |
| 1725 * include/pkgconf/libc.h, src/support/clibdata.cxx: | |
| 1726 Change CYGXXX_LIBC_STDIO_DEFAULT_CONSOLE to | |
| 1727 CYGDAT_LIBC_STDIO_DEFAULT_CONSOLE | |
| 1728 | |
| 1729 Mon Jul 27 21:49:23 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1730 | |
| 1731 * src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl, | |
| 1732 src/clibincl/ctypesupp.hxx, src/clibincl/setjmpsupp.hxx, | |
| 1733 src/clibincl/stdiosupp.hxx, src/clibincl/stdlibsupp.hxx, | |
| 1734 src/clibincl/stream.hxx, src/clibincl/stream.inl, | |
| 1735 src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl, | |
| 1736 src/clibincl/stringsupp.hxx, src/clibincl/timesupp.hxx: | |
| 1737 | |
| 1738 Change CYGONCE_LIBC_*_{HXX,INL} to CYGONCE_LIBC_CLIBINCL_*_{HXX,INL} | |
| 1739 | |
| 1740 Mon Jul 27 21:34:05 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1741 | |
| 1742 * include/pkgconf/libc.h: | |
| 1743 Change #define XXXXX 1 to #define XXXXX where applicable as per code | |
| 1744 review | |
| 1745 | |
| 1746 Also remove obsolete CYGIMP_LIBC_THREAD_START_SUSPENDS_SELF | |
| 1747 | |
| 1748 Mon Jul 27 19:42:27 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1749 | |
| 1750 * src/stdio/common/fopen.cxx (_fopen): | |
| 1751 Use #ifdef, not #if for config options | |
| 1752 | |
| 1753 Mon Jul 27 15:01:51 BST 1998 Chris Provenzano <proven@cygnus.com> | |
| 1754 | |
| 1755 * src/stdio/common/stream.cxx, src/stdio/common/vsnprintf.cxx | |
| 1756 * src/stdio/common/vsscanf.cxx: | |
| 1757 Fixes to compile with the new Cyg_IORB field names. | |
| 1758 | |
| 1759 Thu Jul 9 03:40:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1760 | |
| 1761 * tests/stdlib/atoi.c, tests/stdlib/atol.c, | |
| 1762 tests/stdlib/strtol.c, tests/stdlib/strtoul.c: | |
| 1763 Adjust starting of tests to possibly start scheduler since | |
| 1764 strtol/stroul rely on errno, which may be a per-thread variable | |
| 1765 | |
| 1766 Thu Jul 9 03:06:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1767 | |
| 1768 * src/clibincl/stream.hxx, src/clibincl/stream.inl, | |
| 1769 src/stdio/common/stream.cxx, src/stdio/common/setvbuf.cxx: | |
| 1770 Consolidate read and write buffers into single buffer, as it should | |
| 1771 have been all along | |
| 1772 | |
| 1773 * src/clibincl/streambuf.hxx, src/clibincl/streambuf.inl: | |
| 1774 Add drain_buffer() method to speed up the case when we want the | |
| 1775 buffer completely emptied | |
| 1776 | |
| 1777 Tue Jul 7 21:26:33 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1778 | |
| 1779 * tests/stdio/sprintf1.c: | |
| 1780 Add a couple of new tests that check that very long strings work too | |
| 1781 | |
| 1782 Wed Jul 1 19:52:39 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1783 | |
| 1784 * src/clibincl/stream.hxx, src/clibincl/streambuf.hxx: | |
| 1785 Do not permit copy constructors | |
| 1786 | |
| 1787 * src/clibincl/stream.inl, src/stdio/common/fclose.cxx: | |
| 1788 Make sure we use #ifdef and not #if | |
| 1789 | |
| 1790 * src/clibincl/streambuf.inl: | |
| 1791 Use member initialisation list rather than explicit initialisation to | |
| 1792 reduce warnings | |
| 1793 | |
| 1794 Wed Jul 1 19:17:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1795 | |
| 1796 * include/pkgconf/libc.h and all files using config options: | |
| 1797 Rename configuration defines to make them more standard | |
| 1798 | |
| 1799 Thu Jun 25 20:09:30 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1800 | |
| 1801 * src/string/strcat.cxx: | |
| 1802 Add parentheses on check to silence warning | |
| 1803 (Verified by proven) | |
| 1804 | |
| 1805 Thu Jun 25 19:30:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1806 | |
| 1807 * src/stdlib/malloc.cxx: | |
| 1808 Make sure that the malloc pool is initialised before other things | |
| 1809 can use it. This is done with the hot new constructor ordering | |
| 1810 feature. | |
| 1811 | |
| 1812 Thu Jun 25 18:27:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1813 | |
| 1814 * src/stdio/input/vfscanf.cxx: | |
| 1815 Remove bogus ifdef if floating point is _not_ wanted | |
| 1816 | |
| 1817 Thu Jun 25 17:31:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1818 | |
| 1819 * src/string/strtok.cxx: | |
| 1820 Fix argument checking to allow first argument of NULL | |
| 1821 | |
| 1822 Thu Jun 25 04:18:50 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1823 | |
| 1824 * src/clibincl/clibdata.inl (get_strtok_last_p): | |
| 1825 Remove bogus assertion | |
| 1826 | |
| 1827 * src/stdlib/malloc.cxx: | |
| 1828 Got sense of alignment check assertion the wrong way round, so negate | |
| 1829 it | |
| 1830 | |
| 1831 Thu Jun 25 03:56:35 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1832 | |
| 1833 * src/string/strxfrm.cxx: | |
| 1834 Fix argument checking assertions with legitimate nulls here too | |
| 1835 | |
| 1836 Thu Jun 25 03:46:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1837 | |
| 1838 * src/stdlib/strtoul.cxx, src/stdlib/strtol.cxx: | |
| 1839 Fix argument checking assertions to cope with legitimate nulls | |
| 1840 | |
| 1841 Wed Jun 24 09:01:45 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1842 | |
| 1843 * tests/stdio/sprintf1.c: | |
| 1844 Remove extraneous info messages | |
| 1845 | |
| 1846 Wed Jun 24 05:59:17 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1847 | |
| 1848 * tests/stdio/sprintf1.c, tests/stdio/sprintf2.c, tests/stdio/sscanf.c, | |
| 1849 tests/stdlib/rand1.c, tests/stdlib/rand2.c, tests/stdlib/rand3.c, | |
| 1850 tests/stdlib/srand.c: | |
| 1851 | |
| 1852 Change large automatic arrays to static arrays to prevent overuse | |
| 1853 of a potentially small stack | |
| 1854 | |
| 1855 Wed Jun 24 05:45:28 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1856 | |
| 1857 * tests/stdio/sprintf1.c, tests/stdio/sprintf2.c, tests/stdio/sscanf.c, | |
| 1858 tests/stdlib/rand1.c, tests/stdlib/rand2.c, tests/stdlib/rand3.c, | |
| 1859 tests/stdlib/srand.c, tests/string/strtok.c, tests/time/clock.c: | |
| 1860 | |
| 1861 Increase thread stack size from 4K to 32K as in some cases it was | |
| 1862 too small. | |
| 1863 | |
| 1864 | |
| 1865 Tue Jun 23 20:12:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1866 | |
| 1867 * tests/stdio/sscanf.c: | |
| 1868 Add extra tests, including floating point conversion testing | |
| 1869 | |
| 1870 Tue Jun 23 17:01:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1871 | |
| 1872 * src/string/strtok.cxx: | |
| 1873 Make sure this is only compiled if CYGFUN_LIBC_strtok is defined | |
| 1874 | |
| 1875 Tue Jun 23 06:10:13 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1876 | |
| 1877 * include/pkgconf/libc.h: | |
| 1878 add some comments - that's all | |
| 1879 | |
| 1880 * src/stdio/common/stream.cxx: | |
| 1881 fix case in refill_read_buffer() for what to do when there's nothing | |
| 1882 left. Now return EAGAIN | |
| 1883 | |
| 1884 * src/stdio/common/vsscanf.cxx, src/stdio/input/vfscanf.cxx: | |
| 1885 Get sscanf working properly and passing tests. Also make sure it | |
| 1886 ignores FP when its not configured | |
| 1887 | |
| 1888 * src/stdlib/atof.cxx: | |
| 1889 Only compile at all if strtod() is present | |
| 1890 | |
| 1891 | |
| 1892 Mon Jun 22 19:13:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1893 | |
| 1894 * src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl: | |
| 1895 Conditionalise strtok_last and rand_seed better | |
| 1896 | |
| 1897 Mon Jun 22 14:14:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1898 | |
| 1899 * tests/stdlib/malloc3.c: | |
| 1900 Add test for checking that mallocing and freeing repeatedly works | |
| 1901 | |
| 1902 * tests/PKGconf.mak: | |
| 1903 Update to reflect addition of the above | |
| 1904 | |
| 1905 Mon Jun 22 13:09:33 BST 1998 Chris Provenzano <proven@cygnus.com> | |
| 1906 | |
| 1907 * src/stdio/common/fopen.cxx | |
| 1908 * src/stdio/common/stream.cxx | |
| 1909 * src/stdio/common/vsnprintf.cxx | |
| 1910 * src/stdio/common/vsscanf.cxx | |
| 1911 Include cyg/devs/common/iorb.h instead of iorb.hxx | |
| 1912 | |
| 1913 * src/stdio/common/stream.cxx | |
| 1914 Use read_blocking and write_blocking instead of just read and | |
| 1915 write when accessing devices through the virtual device table. | |
| 1916 | |
| 1917 Sun Jun 21 18:19:13 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1918 | |
| 1919 * src/stdio/common/stdioinlines.cxx: | |
| 1920 Propagate change of return code handling for puts from stdio.inl | |
| 1921 into here | |
| 1922 | |
| 1923 * src/stdio/output/fputc.cxx: | |
| 1924 make sure the right type is used for output - byte not int | |
| 1925 | |
| 1926 * src/support/clibdata.cxx: | |
| 1927 Fix #define config mistook. #endif was in wrong place | |
| 1928 | |
| 1929 Sun Jun 21 16:11:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1930 | |
| 1931 * src/clibincl/clibdata.hxx, src/clibincl/clibdata.inl: | |
| 1932 Allow explicit construction to get around a bug when | |
| 1933 dynamically allocating per-thread structure | |
| 1934 | |
| 1935 Sun Jun 21 16:02:51 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1936 | |
| 1937 * tests/ctype/ctype.c, tests/setjmp/setjmp.c, tests/stdio/sprintf1.c, | |
| 1938 tests/stdio/sprintf2.c, tests/stdio/sscanf.c, tests/stdlib/abs.c, | |
| 1939 tests/stdlib/atoi.c, tests/stdlib/atol.c, tests/stdlib/bsearch.c, | |
| 1940 tests/stdlib/div.c, tests/stdlib/labs.c, tests/stdlib/ldiv.c, | |
| 1941 tests/stdlib/malloc1.c, tests/stdlib/malloc2.c, tests/stdlib/qsort.c, | |
| 1942 tests/stdlib/rand1.c, tests/stdlib/rand2.c, tests/stdlib/rand3.c, | |
| 1943 tests/stdlib/srand.c, tests/stdlib/strtol.c, tests/stdlib/strtoul.c, | |
| 1944 tests/string/memchr.c, tests/string/memcmp1.c, | |
| 1945 tests/string/memcmp2.c, tests/string/memcpy1.c, | |
| 1946 tests/string/memcpy2.c, tests/string/memmove1.c, | |
| 1947 tests/string/memmove2.c, tests/string/memset.c, | |
| 1948 tests/string/strcat1.c, tests/string/strcat2.c, | |
| 1949 tests/string/strchr.c, tests/string/strcmp1.c, | |
| 1950 tests/string/strcmp2.c, tests/string/strcoll1.c, | |
| 1951 tests/string/strcpy1.c, tests/string/strcpy2.c, | |
| 1952 tests/string/strcspn.c, tests/string/strlen.c, | |
| 1953 tests/string/strncat1.c, tests/string/strncat2.c, | |
| 1954 tests/string/strncpy1.c, tests/string/strncpy2.c, | |
| 1955 tests/string/strpbrk.c, tests/string/strrchr.c, | |
| 1956 tests/string/strspn.c, tests/string/strstr.c, tests/string/strtok.c, | |
| 1957 tests/string/strxfrm1.c, tests/string/strxfrm2.c, tests/time/clock.c: | |
| 1958 | |
| 1959 Update tests to "do the right thing" with all configuration settings | |
| 1960 | |
| 1961 | |
| 1962 Sun Jun 21 04:54:14 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1963 | |
| 1964 * tests/setjmp/setjmp.c: | |
| 1965 I have to be careful not to use setjmp() in a way not exactly | |
| 1966 defined by the standard, so make sure I do, and add a comment | |
| 1967 documenting these ways. | |
| 1968 | |
| 1969 Also ensure this test does the right thing in all configurations | |
| 1970 | |
| 1971 Sun Jun 21 04:38:15 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1972 | |
| 1973 * include/pkgconf/libc.h: | |
| 1974 Add extra checks for invalid configurations | |
| 1975 Also make default for thread safety OFF | |
| 1976 | |
| 1977 * src/clibincl/clibdata.inl: | |
| 1978 Adjust indentation | |
| 1979 | |
| 1980 * src/stdio/output/vfnprintf.cxx: | |
| 1981 Make printf of -0.0 floating point do the right thing | |
| 1982 | |
| 1983 Sun Jun 21 04:28:00 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1984 | |
| 1985 * src/stdio/common/snprintf.cxx, src/stdio/common/sprintf.cxx, | |
| 1986 src/stdio/common/sscanf.cxx, src/stdio/input/fscanf.cxx, | |
| 1987 src/stdio/input/scanf.cxx, src/stdio/output/fnprintf.cxx, | |
| 1988 src/stdio/output/fprintf.cxx, src/stdio/output/printf.cxx: | |
| 1989 | |
| 1990 Had to remove inline functions with varargs. Which means separating | |
| 1991 out each function from stdioinlines.cxx into a separate file, as they | |
| 1992 no longer belong there. So all the above files were created. | |
| 1993 | |
| 1994 * include/stdio.inl, src/PKGconf.mak, | |
| 1995 src/stdio/common/stdioinlines.cxx: | |
| 1996 Changed to take account of the above | |
| 1997 | |
| 1998 | |
| 1999 Sun Jun 21 03:58:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2000 | |
| 2001 * tests/stdio/sprintf1.c, tests/stdio/sprintf2.c: | |
| 2002 Update with floating-point tests. Also make sure they DTRT in all | |
| 2003 configurations | |
| 2004 | |
| 2005 Fri Jun 19 19:33:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2006 | |
| 2007 * src/support/clibdata.cxx: | |
| 2008 accidentally initialised stdin/out/err twice | |
| 2009 | |
| 2010 Fri Jun 19 19:09:29 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2011 | |
| 2012 * src/support/clibdata.cxx: | |
| 2013 Another typo | |
| 2014 | |
| 2015 Fri Jun 19 18:59:07 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2016 | |
| 2017 * src/support/clibdata.cxx: | |
| 2018 Missing #endif typo | |
| 2019 | |
| 2020 Fri Jun 19 18:51:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2021 | |
| 2022 * src/support/clibdata.cxx: | |
| 2023 Fix initialisation of static data members. Unsure how it worked at | |
| 2024 all before! | |
| 2025 | |
| 2026 Fri Jun 19 18:01:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2027 | |
| 2028 * include/stdio.inl: | |
| 2029 puts should check whether fputs returns non-negative, rather than | |
| 2030 non-zero | |
| 2031 | |
| 2032 Fri Jun 19 17:22:52 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2033 | |
| 2034 * src/clibincl/clibdata.inl: | |
| 2035 Make inclusion of get_errno_p conditional on thread-safety | |
| 2036 | |
| 2037 Wed Jun 17 10:55:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2038 | |
| 2039 * src/stdio/input/vfscanf.cxx: | |
| 2040 Add weak alias of vfscanf() to _vfscanf() | |
| 2041 | |
| 2042 Wed Jun 17 09:10:41 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2043 | |
| 2044 * src/stdio/common/fflush.cxx: | |
| 2045 Initialise err to silence compiler warning | |
| 2046 | |
| 2047 Wed Jun 17 08:59:20 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2048 | |
| 2049 * Most important is the addition of floating point support in | |
| 2050 src/stdio/output/vfnprintf.cxx and src/stdio/input/vfscanf.cxx. This | |
| 2051 also required the addition of atof() and strtod() in stdlib which is | |
| 2052 definitely no bad thing! Other than that... | |
| 2053 | |
| 2054 * Fix a whole bunch of stuff I messed up first time round. Also the | |
| 2055 sprintf and sscanf tests are included again. | |
| 2056 | |
| 2057 Tue Jun 16 16:38:02 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2058 | |
| 2059 * tests/PKGconf.mak: | |
| 2060 Typo with not putting comment character at the beginning. Sigh. | |
| 2061 | |
| 2062 Tue Jun 16 14:53:09 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2063 | |
| 2064 * tests/PKGconf.mak: | |
| 2065 Forgot to (temporarily) remove fputs test for now | |
| 2066 | |
| 2067 Mon Jun 15 20:40:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2068 | |
| 2069 Everything to do with stdio has almost completely changed, so there's | |
| 2070 not much point documenting individual changes. | |
| 2071 | |
| 2072 Mon Jun 15 18:36:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2073 | |
| 2074 * tests/stdlib/malloc2.c: | |
| 2075 Stop it moaning quite as much when it fails by making it exit sooner | |
| 2076 | |
| 2077 * tests/time/clock.c : | |
| 2078 This isn't a compound testcase | |
| 2079 | |
| 2080 Thu Jun 11 17:59:13 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2081 | |
| 2082 * include/assert.h | |
| 2083 Reverse sense of NDEBUG ifdef, that was left in accidentally due | |
| 2084 to testing | |
| 2085 | |
| 2086 Thu Jun 11 04:58:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2087 | |
| 2088 * include/errno.h, include/string.h, src/clibincl/stringsupp.hxx: | |
| 2089 Modify as I've now added an "error" package which defines the error | |
| 2090 codes and strerror() | |
| 2091 | |
| 2092 * src/errno/strerror.cxx: | |
| 2093 Moved to new error package and thus deleted | |
| 2094 | |
| 2095 Wed Jun 10 18:37:37 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2096 | |
| 2097 * include/assert.h: | |
| 2098 create this header and add assert() function | |
| 2099 | |
| 2100 Wed Jun 10 16:23:57 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2101 | |
| 2102 * include/stdlib.h, src/clibincl/stdlibsupp.hxx, src/stdlib/malloc.cxx: | |
| 2103 Add malloc(), calloc() and free() functions | |
| 2104 | |
| 2105 * include/pkgconf/libc.h: | |
| 2106 Add malloc memory pool size option | |
| 2107 | |
| 2108 * tests/stdlib/malloc1.c, tests/stdlib/malloc2.c: | |
| 2109 new tests for malloc | |
| 2110 | |
| 2111 * src/PKGconf.mak, tests/PKGconf.mak: | |
| 2112 Update for new files | |
| 2113 | |
| 2114 Wed Jun 10 15:06:16 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2115 | |
| 2116 * tests/setjmp/setjmp.c: | |
| 2117 Add another test | |
| 2118 | |
| 2119 Tue Jun 9 18:20:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2120 | |
| 2121 * include/pkgconf/libc.h: | |
| 2122 Add some setjmp config's and a macro for the noreturn attribute | |
| 2123 | |
| 2124 * include/setjmp.h, include/setjmp.inl, src/clibincl/setjmpsupp.hxx, | |
| 2125 src/setjmp/longjmp.cxx, tests/setjmp/setjmp.c: | |
| 2126 Added to implement and test setjmp() and longjmp() | |
| 2127 | |
| 2128 * src/PKGconf.mak, tests/PKGconf.mak: | |
| 2129 Update for newly added files | |
| 2130 | |
| 2131 Thu Jun 4 01:29:18 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2132 | |
| 2133 * src/string/memchr.cxx, src/string/memcmp.cxx, src/string/strcat.cxx, | |
| 2134 src/string/strchr.cxx, src/string/strcmp.cxx, src/string/strcpy.cxx, | |
| 2135 src/string/strlen.cxx, src/string/strncat.cxx, | |
| 2136 src/string/strncmp.cxx, src/string/strncpy.cxx: | |
| 2137 Rename CYGIMP_LIBC_PREFER_SMALL_TO_FAST to | |
| 2138 CYGIMP_LIBC_STRING_PREFER_SMALL_TO_FAST | |
| 2139 | |
| 2140 Also use slower but smaller version when __OPTIMIZE_SIZE__ is | |
| 2141 defined (which comes from using gcc -Os) | |
| 2142 | |
| 2143 Fri May 29 16:15:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2144 | |
| 2145 * include/ctype.inl, src/ctype/isxdigit.cxx: | |
| 2146 Fix bug that numerals aren't considered hex digits | |
| 2147 | |
| 2148 * include/time.h: | |
| 2149 Change clock_t and time_t to be signed so that they can accept -1, as | |
| 2150 required by other libc functions | |
| 2151 | |
| 2152 * src/clibincl/clibdata.hxx: | |
| 2153 Fix typo that CYGIMP_LIBC_THREAD_SUPPORT should be ..._SAFETY | |
| 2154 Also fix macro to allocate thread-specific data to not set variables | |
| 2155 in a different stack-frame | |
| 2156 | |
| 2157 * tests/ctype/ctype.c: | |
| 2158 Fix some misunderstandings in tests, and add a few new ones | |
| 2159 | |
| 2160 * tests/stdlib/qsort.c: | |
| 2161 make ctr unsigned to prevent warnings | |
| 2162 | |
| 2163 * tests/stdlib/strtol.c, tests/stdlib/strtoul.c: | |
| 2164 Fix some misunderstandings in tests, and add a few new ones | |
| 2165 | |
| 2166 * tests/string/strrchr.c: | |
| 2167 Fix off by one error | |
| 2168 | |
| 2169 * tests/string/strspn.c: | |
| 2170 Fix case-sensitivity problem, and off-by-one error | |
| 2171 | |
| 2172 * tests/string/strxfrm1.c: | |
| 2173 Remove bogus bit of test that doesn't apply to strxfrm, and fix typo | |
| 2174 | |
| 2175 | |
| 2176 Fri May 22 16:33:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2177 | |
| 2178 * src/PKGconf.mak | |
| 2179 Remove CXXFLAGS line now that its redundant | |
| 2180 | |
| 2181 * tests/everything! | |
| 2182 Do a blitz change of all tests - break some of them down into | |
| 2183 different files, add new tests, standardize format, fix bugs, | |
| 2184 update for recent header file changes and much more! | |
| 2185 | |
| 2186 Wed May 20 17:50:04 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2187 | |
| 2188 * tests/PKGconf.mak: | |
| 2189 interim checkin for different dir structure for Bart | |
| 2190 | |
| 2191 Fri May 15 20:30:46 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2192 | |
| 2193 * Tidy up some loose ends I forgot: rename src/include directory to | |
| 2194 src/clibincl. And add clibdata.inl and timesupp.hxx in there. | |
| 2195 | |
| 2196 Thu May 14 19:56:32 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2197 | |
| 2198 * Basically everything has changed in the C library. Files have | |
| 2199 been moved, renamed, deleted and reworked. This is a major | |
| 2200 revision, and now starts from this new baseline rather than doing | |
| 2201 incremental changes. | |
| 2202 | |
| 2203 Fri Apr 17 18:43:02 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2204 | |
| 2205 * src/ECCconf.mak: | |
| 2206 added for new build system (actually Bart did this, but didn't | |
| 2207 update this ChangeLog) | |
| 2208 | |
| 2209 Fri Apr 17 15:03:25 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2210 | |
| 2211 * src/stdio/device/sim.cxx: | |
| 2212 Make it build with CYG_EMPTY_STATEMENT; the unadorned one is being | |
| 2213 removed. | |
| 2214 | |
| 2215 Thu Apr 16 00:24:24 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2216 | |
| 2217 * All source files: | |
| 2218 replace ECCIMP_LIBC_* conditional ifdef with CYGIMP_LIBC_* | |
| 2219 | |
| 2220 * include/eccconf/libc.h: | |
| 2221 improve comments and reorder a bit | |
| 2222 | |
| 2223 Wed Apr 8 14:35:20 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2224 | |
| 2225 * Makefile.am, src/Makefile.am, tests/Makefile.am, configure.in: | |
| 2226 many changes to integrate build structure from release tree | |
| 2227 | |
| 2228 * src/ctype/Makefile.am, src/ctype/Makefile.in, src/errno/Makefile.am, | |
| 2229 src/errno/Makefile.in, src/stdio/Makefile.am, src/stdio/Makefile.in, | |
| 2230 src/stdio/common/Makefile.am, src/stdio/common/Makefile.in, | |
| 2231 src/stdio/device/Makefile.am, src/stdio/device/Makefile.in, | |
| 2232 src/stdio/output/Makefile.am, src/stdio/output/Makefile.in, | |
| 2233 src/stdio/input/Makefile.am, src/stdio/input/Makefile.in, | |
| 2234 src/stdlib/Makefile.am, src/stdlib/Makefile.in, | |
| 2235 src/string/Makefile.am, src/string/Makefile.in, | |
| 2236 src/support/Makefile.am, src/support/Makefile.in, | |
| 2237 src/time/Makefile.am, src/time/Makefile.in: | |
| 2238 Remove as they are now redundant with above changes | |
| 2239 | |
| 2240 * include/Makefile.am: | |
| 2241 Add to support above changes | |
| 2242 | |
| 2243 * include/eccconf/libc.h: | |
| 2244 Change include file for configuration from kernel to system | |
| 2245 | |
| 2246 * src/include/kerndiag.hxx, src/stdio/device/kerndiag.cxx, | |
| 2247 src/time/clockfn.cxx: | |
| 2248 Change kernel include file to eccconf/kernel.h | |
| 2249 | |
| 2250 * src/include/strngdev.h: | |
| 2251 remove unnecessary kernel include | |
| 2252 | |
| 2253 * Makefile.in, aclocal.m4, configure, src/Makefile.in, | |
| 2254 tests/Makefile.in, include/Makefile.in: | |
| 2255 regenerate | |
| 2256 | |
| 2257 Mon Apr 6 20:55:07 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2258 | |
| 2259 * src/stdlib/abs.cxx, src/stdlib/atoi.cxx, src/stdlib/atol.cxx, | |
| 2260 src/stdlib/div.cxx, src/stdlib/labs.cxx, src/stdlib/ldiv.cxx: | |
| 2261 Separated out functions from stdlib.cxx into separate files | |
| 2262 | |
| 2263 * src/stdlib/stdlib.cxx: | |
| 2264 removed to be replaced by above files | |
| 2265 | |
| 2266 * Makefile.am, src/stdlib/Makefile.am: | |
| 2267 modified to support building above and not building stdlib.cxx | |
| 2268 | |
| 2269 * src/support/tsd.cxx: | |
| 2270 Remove unnecessary header file includes | |
| 2271 | |
| 2272 * Makefile.in, src/stdlib/Makefile.in: | |
| 2273 regenerated | |
| 2274 | |
| 2275 Mon Apr 6 19:19:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2276 | |
| 2277 * src/support/tsd.cxx, include/eccconf/libc.h: | |
| 2278 remove lame hack for tx39 compiler now that its fixed | |
| 2279 | |
| 2280 * src/include/sim.hxx: | |
| 2281 define constants as static to placate compiler | |
| 2282 | |
| 2283 Thu Apr 2 21:01:21 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2284 | |
| 2285 * src/ctype/ctype.cxx: | |
| 2286 deleted and separated out into below files | |
| 2287 | |
| 2288 * src/ctype/isalnum.cxx, src/ctype/isalpha.cxx, src/ctype/iscntrl.cxx, | |
| 2289 src/ctype/isdigit.cxx, src/ctype/isgraph.cxx, src/ctype/islower.cxx, | |
| 2290 src/ctype/isprint.cxx, src/ctype/ispunct.cxx, src/ctype/isspace.cxx, | |
| 2291 src/ctype/isupper.cxx, src/ctype/isxdigit.cxx, src/ctype/tolower.cxx, | |
| 2292 src/ctype/toupper.cxx: | |
| 2293 Separated out individual ctype functions from ctype.cxx into separate | |
| 2294 files | |
| 2295 | |
| 2296 * Makefile.am, src/ctype/Makefile.am: | |
| 2297 modified to reflect above deletion/additions | |
| 2298 | |
| 2299 * Makefile.in, src/ctype/Makefile.in: | |
| 2300 regenerated | |
| 2301 | |
| 2302 Thu Apr 2 19:08:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2303 | |
| 2304 * src/string/strxfrm.cxx: optimise using prefix increments | |
| 2305 | |
| 2306 Thu Apr 2 15:18:15 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2307 | |
| 2308 * src/string/strchr.cxx: optimise setting of mask a little | |
| 2309 | |
| 2310 Thu Mar 26 14:07:01 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2311 | |
| 2312 * src/support/tsd.cxx: fixed some typos | |
| 2313 | |
| 2314 Thu Mar 26 11:58:47 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2315 | |
| 2316 * include/eccconf/libc.h, src/support/tsd.cxx: | |
| 2317 Implement workaround for tx39 compiler bug. | |
| 2318 | |
| 2319 * src/include/strsuppt.hxx: | |
| 2320 remove prototypes for _memcpy() and _memset() as they are now in the | |
| 2321 kernel | |
| 2322 | |
| 2323 Wed Mar 25 18:31:53 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2324 | |
| 2325 * Makefile.am, src/string/Makefile.am: memcpy() and memset() are | |
| 2326 now in the kernel so remove them from build | |
| 2327 * include/string.h: add a comment to say as much | |
| 2328 * Makefile.in, src/string/Makefile.in: regenerate | |
| 2329 | |
| 2330 Wed Mar 25 15:30:42 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2331 | |
| 2332 * src/stdlib/_exit.cxx, src/include/file_if.inl: | |
| 2333 Change _exit workaround to not cause a compiler optimisation | |
| 2334 problem. Now just references _exit rather than calls it. | |
| 2335 | |
| 2336 Wed Mar 25 14:59:49 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2337 | |
| 2338 * src/string/strxfrm.cxx: Fix bug causing tests to fail completely | |
| 2339 for this function | |
| 2340 | |
| 2341 Wed Mar 25 12:55:53 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2342 | |
| 2343 * src/include/sim.hxx: add types to constants (oops!) | |
| 2344 * Makefile.am: link src/stdio/device/sim.cxx | |
| 2345 * Makefile.in: regenerated | |
| 2346 | |
| 2347 Wed Mar 25 04:14:30 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2348 | |
| 2349 * src/include/file_if.hxx, src/include/file_if.inl, | |
| 2350 src/include/kerndiag.hxx, src/include/sim.hxx, | |
| 2351 src/include/stdio_if.hxx, src/include/strngdev.hxx, | |
| 2352 src/include/tsd.hxx, src/stdio/common/clearerr.cxx, | |
| 2353 src/stdio/common/clearerr.cxx, src/stdio/common/feof.cxx, | |
| 2354 src/stdio/common/ferror.cxx, src/stdio/common/file_if.cxx, | |
| 2355 src/stdio/common/vsprintf.cxx, | |
| 2356 src/stdio/device/kerndiag.cxx, src/stdio/device/sim.cxx, | |
| 2357 src/stdio/device/strngdev.cxx, src/stdio/output/fputc.cxx, | |
| 2358 src/stdio/output/fputs.cxx, src/stdio/output/puts.cxx, | |
| 2359 src/stdio/output/vfnprintf.cxx, src/support/tsd.cxx: | |
| 2360 Modified to support buffered reads including renaming | |
| 2361 _EccInternalFileStruct to __EccStdioStream which is what affects | |
| 2362 most of these files | |
| 2363 * src/include/file_if.inl, src/stdio/common/file_if.cxx: added for | |
| 2364 the above reason | |
| 2365 * src/stdio/common/sscanf.cxx, src/stdio/input/vfscanf.cxx, | |
| 2366 src/stdio/input/Makefile.am: added to provide sscanf() functionality | |
| 2367 * include/ctype.h, include/stdio.h, include/stdlib.h, | |
| 2368 include/string.h, include/eccconf/libc.h, src/ctype/ctype.cxx, | |
| 2369 src/stdlib/stdlib.cxx, src/string/strcoll.cxx, | |
| 2370 src/stdio/common/stdio.cxx: | |
| 2371 rename *_INLINES macros with prefix CYG rather than ECC | |
| 2372 * include/errno.h, src/errno/errno.cxx, src/errno/strerror.cxx: | |
| 2373 rename ErrNo to _ErrNo and add EAGAIN and EWOULDBLOCK error codes | |
| 2374 * configure.in, Makefile.am, src/stdio/Makefile.am, | |
| 2375 src/stdio/input/Makefile.am: add support for building | |
| 2376 file_if.cxx sscanf.cxx and vfscanf.cxx | |
| 2377 * src/stdio/Makefile.in, src/stdio/common/Makefile.in, | |
| 2378 src/stdio/input/Makefile.in, configure, Makefile.in: regenerated | |
| 2379 | |
| 2380 Tue Mar 24 19:51:40 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2381 | |
| 2382 * src/time/clockfn.cxx, src/time/clock.cxx: | |
| 2383 Renamed clock.cxx to clockfn.cxx (preserving CVS history) | |
| 2384 * Makefile.am, src/time/Makefile.am: updated to reflect name change | |
| 2385 * Makefile.in, src/time/Makefile.in: regenerated | |
| 2386 | |
| 2387 Tue Mar 24 16:28:06 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2388 | |
| 2389 * include/ctype.inl: Swap around definitions to get right order so | |
| 2390 inlining works | |
| 2391 | |
| 2392 Tue Mar 24 14:43:05 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2393 | |
| 2394 * include/ctype.h, include/stdio.h, include/stdlib.h, include/string.h: | |
| 2395 modify to only conditionally include inlines | |
| 2396 * src/ctype/ctype.cxx, src/stdio/common/stdio.cxx, | |
| 2397 src/stdlib/stdlib.cxx, src/string/strcoll.cxx, | |
| 2398 src/ctype/Makefile.am: Add to provide real linkable alternatives | |
| 2399 to inline functions | |
| 2400 * Makefile.am, configure.in, src/Makefile.am, | |
| 2401 src/stdio/common/Makefile.am, src/stdlib/Makefile.am, | |
| 2402 src/string/Makefile.am: modified to support previous additions | |
| 2403 * include/eccconf/libc.h: redefine inline macro to add extern inline, | |
| 2404 and add conditional defines for inline functions. Also rename | |
| 2405 space vs. speed macro to have CYG instead of ECC prefix | |
| 2406 * include/stdio.inl: fix comment typo | |
| 2407 * src/stdlib/qsort.cxx: fix to define inline functions properly | |
| 2408 * src/string/memchr.cxx, src/string/memcmp.cxx, src/string/memcpy.cxx, | |
| 2409 src/string/memset.cxx, src/string/strcat.cxx, src/string/strchr.cxx, | |
| 2410 src/string/strcmp.cxx, src/string/strcpy.cxx, src/string/strlen.cxx, | |
| 2411 src/string/strncat.cxx, src/string/strncmp.cxx, | |
| 2412 src/string/strncpy.cxx | |
| 2413 * Makefile.in, configure, src/Makefile.in, src/ctype/Makefile.in, | |
| 2414 src/stdio/common/Makefile.in, src/stdlib/Makefile.in, | |
| 2415 src/string/Makefile.in: regenerate | |
| 2416 | |
| 2417 | |
| 2418 Mon Mar 23 19:19:49 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2419 | |
| 2420 * src/stdlib/_exit.cxx: added to support temporary _exit | |
| 2421 * include/stdlib.h, include/stdlib.inl: added support for _exit and | |
| 2422 added abs(), labs(), div() and ldiv() functions | |
| 2423 * src/include/file_if.hxx: added support for _exit kludge | |
| 2424 * src/stdlib/qsort.cxx: Added Berkeley copyright message | |
| 2425 * src/time/clock.cxx: Include correct kernel config header as | |
| 2426 CYG_CONFIGURATION rather than <config.h> | |
| 2427 * Makefile.am src/stdlib/Makefile.am: added support for _exit | |
| 2428 * Makefile.in, src/stdlib/Makefile.in: regenerated | |
| 2429 | |
| 2430 Mon Mar 23 14:41:07 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2431 | |
| 2432 * Replace ECCPKG_ANSI_LIBC with CYGPKG_ANSI_LIBC in all source files | |
| 2433 | |
| 2434 Mon Mar 23 14:28:44 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2435 | |
| 2436 * include/string.inl: add file to provide strcoll() | |
| 2437 * include/string.h: include string.inl | |
| 2438 * ctype.h: include ctype.inl (oops!) | |
| 2439 * include/stdlib.h: include stdlib.inl (oops!) | |
| 2440 | |
| 2441 Mon Mar 23 13:30:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2442 | |
| 2443 * include/ctype.h, include/ctype.inl: added to provide ANSI ctype | |
| 2444 functionality | |
| 2445 * include/stdlib.h, include/stdlib.inl, src/include/stdlibbsp.hxx, | |
| 2446 src/stdlib/Makefile.am, src/stdlib/bsearch.cxx, | |
| 2447 src/stdlib/qsort.cxx, src/stdlib/rand.cxx, src/stdlib/srand.cxx, | |
| 2448 src/stdlib/strtol.cxx, src/stdlib/strtoul.cxx: Added to provide | |
| 2449 many stdlib functions | |
| 2450 * src/include/tsd.hxx: modified to support rand() random number | |
| 2451 seed, and added some comments | |
| 2452 * configure.in, Makefile.am, src/Makefile.am: modified to support | |
| 2453 addition of above new sources | |
| 2454 * include/eccconf/libc.h: Add extra helpful comments, and #include | |
| 2455 kernel config file | |
| 2456 * src/time/clock.cxx: #include clock.inl and fix to call | |
| 2457 get_resolution() properly now | |
| 2458 * Makefile.in, configure, src/Makefile.in, src/errno/Makefile.in, | |
| 2459 src/stdio/Makefile.in, src/stdio/common/Makefile.in, | |
| 2460 src/stdio/device/Makefile.in, src/stdio/output/Makefile.in, | |
| 2461 src/stdlib/Makefile.in, src/strings/Makefile.in, | |
| 2462 src/support/Makefile.in, src/time/Makefile.in, | |
| 2463 tests/Makefile.in: regenerated | |
| 2464 | |
| 2465 | |
| 2466 Sun Mar 22 21:29:25 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2467 | |
| 2468 * include/time.h, src/include/timesupp.hxx, src/time/clock.cxx, | |
| 2469 src/time/Makefile.am: added to provide clock() function | |
| 2470 * src/Makefile.am: modified to try to build in src/time directory | |
| 2471 * include/eccconf/libc.h: added and is now the main configuration | |
| 2472 file for this package | |
| 2473 * acconfig.h, include/libcconf.h.in, include/stamp-h.in: removed | |
| 2474 due to usage of libc.h above instead | |
| 2475 * Almost all *.h, *.hxx and *.cxx: replaced LIBC_CONFIG_HEADER | |
| 2476 defined include with simple <pkgconf/libc.h> | |
| 2477 * configure.in: remove AM_CONFIG_HEADER of libcconf.h and | |
| 2478 LIBC_CONFIG_HEADER definition. Also remove usage of builtin | |
| 2479 memcpy() etc. from gcc, and generate src/time/Makefile | |
| 2480 * Makefile.am: link in src/time/clock.o | |
| 2481 * src/include/file_if.hxx, src/include/sim.hxx: use config header | |
| 2482 to decide whether C library is to be used | |
| 2483 * Makefile.in, aclocal.m4, configure, src/Makefile.in: regenerated | |
| 2484 | |
| 2485 Fri Mar 20 18:08:10 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2486 | |
| 2487 * src/string/strxfrm.cxx: Fixed bug with ignoring terminating NULL | |
| 2488 | |
| 2489 1998-03-20 Chris Tarpy <ctarpy@bhaji.cygnus.co.uk> | |
| 2490 | |
| 2491 * configure: - regenerated | |
| 2492 * Makefile.am: - Support added for libc testcases | |
| 2493 * Makefile.in: regenerated | |
| 2494 * configure.in: set c compiler, descend test dir | |
| 2495 * tests/Makefile.in: added | |
| 2496 * tests/Makefile.am: added | |
| 2497 * tests/tcdiag.cxx : added | |
| 2498 | |
| 2499 | |
| 2500 Thu Mar 19 11:41:56 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2501 | |
| 2502 * Initial check-in of everything | |
| 2503 | |
| 2504 //=========================================================================== | |
| 2505 //####COPYRIGHTBEGIN#### | |
| 2506 // | |
| 2507 // ------------------------------------------- | |
| 2508 // The contents of this file are subject to the Cygnus eCos Public License | |
| 2509 // Version 1.0 (the "License"); you may not use this file except in | |
| 2510 // compliance with the License. You may obtain a copy of the License at | |
| 2511 // http://sourceware.cygnus.com/ecos | |
| 2512 // | |
| 2513 // Software distributed under the License is distributed on an "AS IS" | |
| 2514 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 2515 // License for the specific language governing rights and limitations under | |
| 2516 // the License. | |
| 2517 // | |
| 2518 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 2519 // September 30, 1998. | |
| 2520 // | |
| 2521 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 2 | 2522 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. |
| 0 | 2523 // ------------------------------------------- |
| 2524 // | |
| 2525 //####COPYRIGHTEND#### | |
| 2526 //=========================================================================== |
