comparison packages/language/c/libc/stdio/current/ChangeLog.libc @ 115:6ed91473a1cd ecos-sw-2000-08-21

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