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