Opened 17 years ago
Closed 16 years ago
#1543 closed bug (fixed)
Check libroot for Correct Use of errno (easy)
Reported by: | bonefish | Owned by: | kaoutsis |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/libroot.so | Version: | R1/pre-alpha1 |
Keywords: | Cc: | karma | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
While BeOS API functions usually return error codes directly, POSIX functions just indicate an error by a special return value (often -1 or a NULL pointer) and set errno to the actual error code. Our libroot code (src/system/libroot, particularly the posix subdirectory) needs to be reviewed in this respect.
Change History (10)
comment:1 by , 17 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 17 years ago
Milestone: | R1/alpha → R1 |
---|
follow-up: 6 comment:5 by , 17 years ago
Replying to korli:
Could you provide a status on this one please ?
Certainly;
- several additions to posix functions have been made regarding setting errno
to the past 3 months (not only by me); (i don't remember exactly the particular functions names)
- i have scan the posix subdirectory) for errno twice; but if it isn't urgent,
i would like to check again. I think we should leave this ticket open a little longer.
comment:6 by , 17 years ago
Replying to kaoutsis:
(i don't remember exactly the particular functions names)
searching trac i found these: http://dev.haiku-os.org/changeset/22728 http://dev.haiku-os.org/changeset/22519 http://dev.haiku-os.org/changeset/22499 http://dev.haiku-os.org/changeset/22484
comment:9 by , 16 years ago
Replying to scottmc:
anything to update on this one?
as far as my knowledge goes, i couldn't find any other cases. In my opinion we should close this ticket, and if someone finds a missing case, could open a ticket with that particular case.
comment:10 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I will give it a try!