Rework error handling to make it work better with non-POSIX functions
The core system is extremely ANSI/POSIX-centered. This means for example, that ##sys#update-errno
and strerror are used all over the place.
Unfortunately, this makes handling errors unnecessarily hard when dealing with native Windows functions (and potentially similar on other platforms). Michele La Monaca [gave an example of how to deal with this http://lists.gnu.org/archive/html/chicken-hackers/2014-10/msg00072.html] in a thread where he pointed out that rename-file
is inconsistent across platforms when the target file already exists.
Change History (7)
Estimated difficulty: |
→ medium
|
Milestone: |
6.0.0 →
someday
|
This is mostly an internal reorganisation. I think we can do this in a later version without breaking too much stuff, so there's no reason to keep this on the 5.0 milestone.