-
Notifications
You must be signed in to change notification settings - Fork 7
Commit 15b3651
author
committedWerner Almesberger
hack: set errno to ENOENT when -1 fails, so that the error isn't too ugly
The caller assumes that any error would be signaled via errno. A proper
solution would be to allow also for non-errno errors.1 parent 3d0ec2d commit 15b3651
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | + | ||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
1095 | 1096 | | |
1096 | 1097 | | |
1097 | 1098 | | |
1099 | + | ||
1098 | 1100 | | |
1099 | 1101 | | |
1100 | 1102 | | |
| |||
0 commit comments