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