Commit cd719e6
0.4.0 — repin the C library, which no longer answers a question with another one's answer (#10)
* 0.4.0 --- repin the C library, which no longer answers a question with another one's answer
openkal-musl 0.7.0. Nothing in this package changes: it names the C library and
the C library named the specification, so what moves is one line.
What the consumers of this package get is measured rather than asserted. The
same `std::filesystem` program, run over this stack and over the host's own
toolchain, now agrees row for row where it did not:
stat on a node naming another was a link, is what the name refers to
is_regular_file on the same was false for bytes it could read
file_size on the same was refused
exists on one naming nothing was true
is_directory in an enumeration was false for one naming a directory
copy of a tree holding one was ENOSYS; one such node made a whole
tree uncopyable
readlink was ENOSYS
equivalent of two different files was TRUE, with no error
and `signal(SIGABRT, …)`, which any terminal library, death test or crash
reporter performs before it does anything else, no longer ends the program.
* README: the versions it names are the versions that exist
Every README here opens by showing what a program writes in its manifest, which
is the first thing a reader copies and the last thing anyone edits. These lines
had drifted --- the specification's own README asked for a version four minor
releases old --- and nothing checked them.
`openkal/tools/check-readme-versions.sh` now does.
* test: the operation that was a refusal and is now an operation
examples/cxx asserted that creating a symbolic link is refused. openkal 0.9
added kal_fs_link_create, openkal-musl 0.7 answers symlinkat with it, and the
refusal stopped arriving -- so this failed, which is the good case. An
assertion that had merely tolerated both answers would have made the arrival of
the operation invisible here, and this file is the only place in the ecosystem
where a C++ standard library exercises it.
The link is now created, read back, and asked about both ways: an enquiry that
does not resolve reports the link, one that resolves reports the file, and the
size read through it is the file's.
Writing that produced a failure of its own worth recording. The target was
first spelled `dir / "a.txt"', which looks more careful than `"a.txt"' and is
wrong: a link's content is resolved relative to the directory holding the link,
so it named cxx-probe.d/cxx-probe.d/a.txt and dangled. Three assertions failed
against a port that was answering correctly.
---------
Co-authored-by: speak-agent <x.d2learn.org@gmail.com>1 parent 81a6c04 commit cd719e6
3 files changed
Lines changed: 46 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
| 106 | + | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
113 | 131 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
117 | 151 | | |
118 | 152 | | |
119 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
0 commit comments