Commit 02d2e4b
committed
gopathrs: return raw errors from openat2 retry loop
This is to match the new behavour from libpathrs, as it provides more
reasonable information to downstream users (they can check for
unix.EAGAIN and have their own custom retry logic).
Ref: cyphar/libpathrs#265
Signed-off-by: Aleksa Sarai <[email protected]>1 parent 5dae0ae commit 02d2e4b
File tree
2 files changed
+3
-7
lines changed- pathrs-lite/internal
- fd
- gopathrs
2 files changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
| 47 | + | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | | - | |
62 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
580 | 579 | | |
581 | 580 | | |
582 | 581 | | |
583 | | - | |
| 582 | + | |
584 | 583 | | |
585 | 584 | | |
586 | 585 | | |
| |||
0 commit comments