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