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