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