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