Summary
Rework error handling to make it work better with non-POSIX functions
Metadata
- Id: 2ec6dd02f7374246f9aaaae3013f970e54cb8304
- Trac id: 1222
- Type: enhancement
- Reporter: sjamaan
- Owner:
- Cc:
- Status: new
- Component: core libraries
- Estimated difficulty: medium
- Resolution:
- Priority: major
- Milestone: someday
- Version:
- Changetime: 2023-11-08 21:21:28 UTC
- Created: 2015-10-31 15:50:36 UTC
- Keywords:
Description
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 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.
Changes and comments
[2016-11-07 20:02:37 UTC] sjamaan removed difficulty
[2016-11-07 20:02:37 UTC] sjamaan changed milestone from 5.0 to 5.1
[2016-11-07 20:02:37 UTC] sjamaan wrote:
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.
[2017-08-25 15:12:15 UTC] sjamaan set difficulty to medium
[2019-04-07 12:23:24 UTC] sjamaan changed milestone from 5.1 to 5.2
[2019-04-07 12:23:24 UTC] sjamaan wrote:
Getting ready for 5.1, moving tickets which won't make it in to 5.2.