Commit 350ea74
committed
Split file_unlink into file and directory forms.
Split file_unlink into file_unlink_file and file_unlink_directory.
Rather than one function with a flags argument to say which of two
things to do, having two functions allows finer-grained import
capabilities.
Also, standardize the errno choices for the unlink functions, in
cases where underlying Unix platforms differ.1 parent 66069f3 commit 350ea74
4 files changed
Lines changed: 37 additions & 15 deletions
File tree
- expected/wasm32-wasi
- libc-bottom-half
- cloudlibc/src/libc/unistd
- headers/public/wasi
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3552 | 3552 | | |
3553 | 3553 | | |
3554 | 3554 | | |
3555 | | - | |
3556 | | - | |
3557 | | - | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
| 3558 | + | |
3558 | 3559 | | |
3559 | 3560 | | |
3560 | 3561 | | |
| |||
3591 | 3592 | | |
3592 | 3593 | | |
3593 | 3594 | | |
3594 | | - | |
3595 | 3595 | | |
3596 | 3596 | | |
3597 | 3597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
23 | 41 | | |
24 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
216 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 266 | | |
269 | 267 | | |
270 | 268 | | |
| |||
624 | 622 | | |
625 | 623 | | |
626 | 624 | | |
627 | | - | |
| 625 | + | |
628 | 626 | | |
629 | 627 | | |
630 | | - | |
631 | | - | |
632 | | - | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
633 | 636 | | |
634 | 637 | | |
635 | 638 | | |
| |||
0 commit comments