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