Opened 8 years ago

Last modified 3 months ago

#1222 new enhancement

Rework error handling to make it work better with non-POSIX functions

Reported by: sjamaan Owned by:
Priority: major Milestone: someday
Component: core libraries Version:
Keywords: Cc:
Estimated difficulty: medium


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] in a thread where he pointed out that rename-file is inconsistent across platforms when the target file already exists.

Change History (7)

comment:1 Changed 7 years ago by sjamaan

Milestone: 5.05.1

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.

comment:2 Changed 6 years ago by sjamaan

Estimated difficulty: medium

comment:3 Changed 5 years ago by sjamaan

Milestone: 5.15.2

Getting ready for 5.1, moving tickets which won't make it in to 5.2.

comment:4 Changed 4 years ago by felix winkelmann

Milestone: 5.25.3

comment:5 Changed 3 years ago by sjamaan

Milestone: 5.35.4

comment:6 Changed 4 months ago by felix winkelmann


comment:7 Changed 3 months ago by felix winkelmann

Milestone: 6.0.0someday
Note: See TracTickets for help on using tickets.