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