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