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