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